These are the steps:
- Move your existing .vimrc, and .vim to someplace. I do these:
mv .vimrc .vimrc.backup
,mv .vim .vim.backup
- Ensure you have
vim-nox
installed.sudo apt-get update
,sudo apt-get install vim-nox
. - Install Vundle:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- Copy .vimrc from here:
https://raw.githubusercontent.com/manishrjain/vim/master/.vimrc
- Run
vim
. Call:PluginInstall
- Run
vim
. Call:GoUpdateBinaries
- Download zip from
https://github.com/Shougo/neocomplete.vim
- Ensure you have lua support. Run
vim
. Call:echo has("lua")
. If it returns 1, you’re set. -
unzip ~/Downloads/neocomplete.vim
, thenmv neocomplete.vim-master/* ~/.vim/
- When you now type into vim, you should be able to see autocomplete.
Also, notice all the amazing build, test, doc browser functionality now. You can use it with ;b
, ;t
, ;g
etc. Look carefully at the ~/.vimrc
for more.