Monday, September 27, 2010

vim add on manager

install addon manager:

  1. cd ~
  2. mkdir vim-addons
  3. cd vim-addons
  4. git clone git://github.com/MarcWeber/vim-addon-manager.git
Add the following to your .vimrc to activate your add on manger:

fun ActivateAddons()
set runtimepath+=~/vim-addons/vim-addon-manager
try
call scriptmanager#Activate([])
catch /.*/
echoe v:exception
endtry
endf


now you can try :ActivateAddons and the program will ask you to download the database of add on, choose y and the next time you will be able to autocomplete addon names to install them!

for more info read:

http://github.com/MarcWeber/vim-addon-manager/blob/master/doc/vim-addon-manager.txt