[ILUG] attention vim gods!
Robert Crosbie
bobb at redbrick.dcu.ie
Tue Jan 25 22:33:58 GMT 2000
kevin lyda hath declared on Tuesday the 25 day of January 2000 :-:
> any idea if it's possible to script vim to automagically add the line
>
> #!/usr/bin/perl
>
> any time you type vi foo.pl iff foo.pl doesn't exist? same q for
> #!/bin/sh and foo.sh.
I use...
au BufNewFile *.c 0read ~/template.c
to pull in a load of headers that I keep forgetting...
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
If I had a third arm I'd be fine.
- Orly on dealing with 3 men.
More information about the ILUG
mailing list