This project contains all the settings and plugins I use for Vim. It uses pathogen.vim to manage plugins as git submodules.
- ag.vim - For searching via the_silver_searcher
- vim-airline - Fancy statusline
- vim-bufferline - Show buffers in statusline
- vim-coffee-script - For Coffee syntax and other niceties
- vim-colors-solarized - The Solarized theme
- vim-commentary - For commenting
- vim-css3-syntax - For CSS3/SCSS syntax
- ctrlp.vim - For finding files
- vim-fugitive - For git
- html5.vim - For HTML5 syntax
- indentLine - For indent guides
- vim-jade - For Jade template syntax
- vim-javascript - For Javascript syntax
- vim-markdown - For Markdown syntax
- nerdtree - For directory navigation
- vim-surround - For wrapping text
Before you get started: You probably want to fork this repo and work off your own copy of it.
Before you get to cloning the repo, you’ll want to install a patched font so the vim-airline plugin looks right. You can find some pre-patched fonts in the powerline-fonts repo. You can read more about font patching in Powerline’s docs if none of the pre-patched ones suit your fancy. I’m using Source Code Pro in this repo so if you pick something else, be sure to update the vimrc file.
The ag.vim plugin uses the_silver_searcher. You can install it via Homebrew, there's a package called the_silver_searcher
.
git clone [your_vimfiles_repo] ~/.vim
cd ~/.vim
git submodule init
git submodule update
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc
- Enjoy.
You can find the vimrc
file at ~/.vim/vimrc
.