[plug] vim query
Craig Dyke
grail at enterprize.net.au
Sat Nov 23 17:22:56 WST 2002
Was just wondering if anyone knew whether it is possible to create a new
file and have information
already inserted into it?
eg. Opening a Perl file for the first time
vim new.pl
Once file opens:
#!/usr/bin/perl
# This junk at top of Perl file
And then user can insert whatever they want from here on
I figure if possible it has something to do with the perl.vim file.
There would also need to be a test to see if file is being newly created so
as to
not write over an existing files info
Craig
More information about the plug
mailing list