Hi Members,
I have recently started to use VIM as my text editor. And I am amazed at its
capabilities.
I have a question to you all.
I wanted to have a functionality such that whenever a new file with ".c"
extention is created. It should automatically be loaded with some pre known
content.
ex. When I first time do
{{{
# vim test.c
}}}
It should open the file test.c with content such as:
{{{
/* Some comments
...
...
*/
#include <stdio.h> ( different header files. )
#include <string.h>
...
...
}}}
Please guide me as to how this can be achieved.!!
Thanks,
Nikunj
Bangalore, India
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php