Ive just started using the sniptMate plugin for VIM and love it, however, since my collection of snippets isn\'t huge, I\'d like to be able to add new snippets dynamically rathe
If you are using pathogen, you can write your own snippets without polluting the original ones. To do this, add your snippets to ~/.vim/bundle/mysnippets/snippets/*.snippets
. FYI, mysnippets
can be any name.
Moreover, it's a convention to add a _.snippets
file in that directory where you add snippets which should be available everywhere irrespective of the filetype.