Need help on this VIM template script

view full story

http://unix.stackexchange.com – I have a folder that holds templates of all kinds of files, ~/.vim/skel/tmpl.XXX, when you open a new file for writing, it would be loaded automatically, autocmd! BufNewFile * silent! 0r ~/.vim/skel/tmpl.%:e autocmd! BufNewFile Makefile,makefile silent! 0r ~/.vim/skel/Makefile:e But it just don't work for Makefile, what's wrong with it? (HowTos)