" vim template for automatic h file skeleton generation. " Author: Mark Jerde " Created: August 2, 2001. " Notes: " The "norm o" commands were used to avoid everything being on a single line. " This relies on the C template also being installed. " Get the C header comment. source $VIM/templates/Cheader.vim set cindent " Add the preprocessor control. norm o #ifndef _ let @" = expand("%:t:r") norm p norm a_ let @" = expand("%:e") norm pviwy norm o#define  norm p norm o#endif /*  norm p norm a */ norm k norm ?define " Insert the skeleton class. norm o norm oclass  let @" = expand("%:t:r") norm p norm o{ norm opublic: norm o();Ip norm Vypi~ norm o norm oprotected: norm o norm oprivate: norm o norm o}; norm o