On May 10, 12:36 pm, Nikunj Badjatya <[email protected]> wrote:
> 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.

There is a list of plugins (possibly incomplete) here, some of which
do what you wish:

http://vim.wikia.com/wiki/Category:Automated_Text_Insertion

There are some do-it-yourself tips here:

http://vim.wikia.com/wiki/Category:Templates

I'm especially fond of (and am currently using):

http://vim.wikia.com/wiki/Use_eval_to_create_dynamic_templates

-- 
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

Reply via email to