25 August 2013

Here are some vim tweaks I used to improve productivity with VIM.


Utility to manage ‘runtimepath’ with ease. It facilitate drastically plugins installation.


$ mkdir -p ~/.vim/autoload ~/.vim/bundle
$ curl -Sso ~/.vim/autoload/pathogen.vim \

Runtime Path Manipulation

Add this to your vimrc:

execute pathogen#infect()

If you"re brand new to Vim and lacking a vimrc, vim ~/.vimrc and paste in the following super-minimal example:

execute pathogen#infect()
syntax on
filetype plugin indent on


As one could guess, this plugin will faciliate formatting text in tabular forms. Many different formats are supported and this plugin is real magic!


$ cd ~/.vim/bundle
$ git clone git://github.com/godlygeek/tabular.git

Once installed, you can browse documentation inside VIM if you installed Pathogen.

:help tabular


This plugin will runs files through external syntax checkers and displays any resulting errors to the user. This can be done on demand, or automatically as files are saved. If syntax errors are detected, the user is notified and is happy because they didn"t have to compile their code or execute their script to find them.


cd ~/.vim/bundle
git clone https://github.com/scrooloose/syntastic.git
:help syntastic

blog comments powered by Disqus