Clone this repo into your home directory. Such as:
git clone --recursive git://github.com/mmozuras/vimfiles.git ~/.vim
Now you should create a new .vimrc file in your home directory that loads the pre-configured one that comes bundled in this package. You can do it on Linux/Mac like this:
echo "source ~/.vim/vimrc" > ~/.vimrc
This way you can override the default configuration by adding your own inside this file.
To complete installation run bundle/YouCompleteMe/install.sh
.
If on OSX vim-dispatch and vim-rspec are not working correctly: consider removing the default /etc/zshenv
. It uses /usr/libexec/path_helper
which messes up $PATH.
Visit the following sites to learn more about Vim:
Some of the people that inspired my .vim:
Plugins themselves are in the bundle/ folder. Their configurations are in the plugin/settings/ folder. And language files are in languages folder. Plugins currently used:
- ack - better search, configured to use ag instead of ack
- airline - lean & mean statusline for vim that's light as air
- bundler - lightweight support for Ruby bundler
- cursor - go to previous cursor position when opening a file
- ctrlp - the fastest and most intuitive way for opening files in your project
- dispatch - asynchronous build and test dispatcher
- endwise - support to close Ruby blocks such as 'if', 'do' with 'end'
- fugitive - support for Git, adding convenient commands such as :Gstatus, :Gread, :Gmove
- gundo - visualizes undo tree
- pathogen - the magic souce that makes it super easy to install plugins
- rails - Ruby on Rails power tools
- rspec - run Rspec specs from Vim
- smartinput - automatically closes brackets and quotes.
- surround - add, change, remove surrounding parentheses, brackets, quotes, etc
- syntastic - checks for syntax errors in many languages
- tcomment - support to comment lines of code
- unimpaired - pairs of handy bracket mappings
- YouCompleteMe - code completion engine
- whitespace - strips trailing whitespace