Hello, I'm a vim newbie and I need some help with autocmd.
Ultimately, I would like to be able to open a new .tex,.html,.c file and have it load a skeleton that automatically has the date created in the comment header as well as any other information. To this end my first attempt is just to have a file automatically add "I added this" at the top. This is the code I put in my vimrc file and nothing is happening. :autocmd FileWritePre normal iI added this<Esc> Not sure what I am doing wrong. Thanks for any help. -Dave -- You received this message from the "vim_mac" 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
