I've setup vim with my own .vimrc, hopefully nicely commented and well laid out.
I use vim-plug to organise plugins. It's awesome; you should try it. Hopefully something like it will become default in vim 8.
git clone ~/.vim
- If vim < 7.3,
ln -s ~/.vim/vimrc ~/.vimrc
vim
:PlugInstall
- done!
Some have external dependencies, like YouCompleteMe.
They can also require python scripting support.
Please see the top of vimrc
for my list of current plugins,
it changes frequently!
Hottest bundle: vim-css-color - see the colors of CSS codes you type in!
Works on Arch Linux.
Needs: Boost, Clang, Go, Node.js & npm, TypeScript
If your OS doesn't have up-to-date versions of Boost & Clang, you likely don't want the system version of those. See YCM Installation Guide
Run in an empty directory
#!/usr/bin/bash
here=$(pwd)
cmake -G "Unix Makefiles" -DUSE_SYSTEM_BOOST=ON -DUSE_SYSTEM_LIBCLANG=ON . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp
# Go support
cd ~/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/gocode
go build
# Tern/JS support
cd ~/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/tern_runtime
npm install --production
cd $here
cmake --build . --target ycm_core --config Release