Configuration for vim specialized for Drupal
This configuration use some of the best vim plugin's and make use of the best practices to work Drupal whit Vim (https://drupal.org/node/29325)
1.- Clone the Repository
git clone git@github.com:omero/Vim-for-Drupal.git ~/.vim
2.- Init the git submodules and update them (for all the plugins)
cd ~/.vim
git submodule init
git submodule update
3.- Make a symbolik link to .vimrc
ln -s ~/.vim/vimrcs/vimrc ~/.vimrc
4.- Enjoy
Read the docs of these plugins to understand them better. Each of them provide a much better Vim experience!
- pathogen.vim: Manages the runtime path of the plugins
- snipMate.vim: snipMate.vim aims to be a concise vim script that implements some of TextMate's snippets features in Vim
- NERD Tree: A tree explorer plugin for vim
- vim-airline: Lean & mean status/tabline for vim that's light as air (replacing powerline)
- nerdcommenter: Vim plugin for intensely orgasmic commenting
- vim-fugitive: a Git wrapper so awesome, it should be illegal
- vim-gitgutter: A Vim plugin which shows a git diff in the gutter (sign column) and stages/reverts hunks.
- drupal-snippets: Vim snippets for Drupal 7