When I download the snipMate plugin from github and extract to my .vim directory do I have to move the snipMate.vim file to plugins directory that's located in my .vim directory?? The snipmate directory downloaded from github also contains a plugin directory so I'm not sure what to do.
Asked
Active
Viewed 1,032 times
1 Answers
4
The directories in the github repository are supposed to mirror the directories within .vim. So, in other words, everything within the 'plugin' directory in the github repo will need to be moved to .vim/plugin. Ditto with 'doc', 'ftplugin', etc.
It might be worth checking out the Pathogen plugin for vim. It makes installing plugins (particularly ones that are actively maintained and live on sites like github) very simple to manage.

brettkelly
- 27,655
- 8
- 56
- 72
-
Thank you very much inkedmn just the answer I was looking for. – CPerez721 Jun 16 '11 at 23:42
-
Another question this plugin you just mentioned do I extract it also to my .vim directory – CPerez721 Jun 16 '11 at 23:44
-
@CPerez721 Just drop the file in the 'autoload' directory into .vim/autoload and restart vim. You'll need to add a couple of lines to your .vimrc, too - see the README file on the Pathogen page at github.com – brettkelly Jun 16 '11 at 23:45
-
No problem. Please consider up-voting my answer or accepting it as the correct answer :) – brettkelly Jun 16 '11 at 23:50