Vim Tips

koschei on 2002-01-10T17:57:18

Mmm. I maintain a vimtips list.

Every second day (skipping Sunday) a nice little Perl program sends out an email to the list with a tip from the list at the funky new(ish) website for vim.

On the other days (still excepting Sunday) it fetches a new verison of the file. I could do this much less frequently mind you.

The list was off to a slow start initially - vim.sf.net's tips didn't exist then so I had to think of ones to do every week. Eventually (after a brief few weeks) I was distracted by course work. A few months ago I realised I could just extract tips from vim.sf.net and did so.

I use Storable to keep track of which tip numbers I've sent (means I can just 'store' or 'retrieve' a hash rather than bother about opening a file, writing to it, reading from it again later, etc.). And Mail::Sendmail sends the tips.

Quick 97 line program, most of the lines being either braces or blank lines. (I tend to write my Perl using a lot of space.)

Feel free to join, if you like =)