5

The problem with working out SnipMate under Pathogen is basically in adding new snippets, or a separate snippet bundle under the /bundles directory.

Any ideas regarding a working configuration of this problem?

Konzepz
  • 795

2 Answers2

2

By default snipMate looks for snippets in ~/.vim/snippets so just put your new snippets files there or change the g:snippets_dir variable in Vim to any directory you want.

I have let g:snippets_dir = "~/.vim/snippets" in my vimrc file so snipMate only looks at my custom snippets files. If you want both then just use the defaults + the ~/.vim/snippets directory.

ggustafsson
  • 2,024
0

For pathogen, you can simple use git and add a submodule liket his:

 git submodule add https://github.com/garbas/vim-snipmate ~/.vim/bundle/snipmate

Check out garab's vim-snipmate github.

juanpablo
  • 7,424