Vim install On CentOS
yum install vim-enhancedVim install on Ubuntu machine
Install vim-full using command
apt-get install vim
While coding with ruby, html, erb, haml, js and stylesheets.
It is great pain to indent code. Using rails vim one can easily
keep code always indented.
This increases code readability and minimizes effort, bugs and
finally proves ease of using vim editor.
rails.vim script contains lot of syntax highlighter and indentation
plugins that really helps development needs.
If you have git installed then clone it under .vim directory of your profile
git clone git://github.com/sandipransing/rails_vim.git ~/.vim
To install from zip file download & extract it inside ~/.vim directory
download link: http://www.vim.org/scripts/download_script.php?src_id=11920
wget http://www.vim.org/scripts/download_script.php?src_id=11920 /rails.vimThis is how my editor looks like
Open your ~/.bashrc and at the bottom add: