Hi guys : I recently (accidentally) removed all folders/files from my .vim folder in mac os x (home directory).
I am trying to add in the Clojure Vim plugin (VimClojure) – its simply a folder which you are supposed to “drop into .vim/plugins”.
I have added it, but I don’t see any changes to the syntax highlighting when I launch vim. I’m not sure wether vim “sees” the plugin or not.
I’m on OS X .
Any ideas on how to debug the plugin ? In particular
1) How does VIM look for plugins ?
2) Are there files which need to be in $HOME/.vim/ ?
3) Is it sufficient to simply dump the unzip a new plugin file into $HOME/.vim/plugins when installing a standard vim plugin ?
Thanks
About debugging: in order to see whether vim has loaded your plugin you can use
:scriptnamesand alsobreakadd file /path/to/your/plugin(orbreakadd file *your_plugin_name.vim: I never used absolute paths so I do not know what breakadd will do in this case). Other questions::h initialization, precisely:h load-plugins.~/.vimor distributed as a singe file that should go to either~/.vim/plugin(nos!),~/.vim/colors,~/.vim/ftpluginor such. I guess you should try to extract it to~/.vim/plugin, but if archive contains some special directories likeplugin/,ftplugin/,colors/,after/(see/usr/share/vim/vim73for a list) it is likely that it should go to~/.vim. Also consider using vim-addon-manager, if plugin was posted on vim.org VAM is likely to be able to install it.