Saari Development

This blog is intended to be a log of my (Ali Rizvi's) professional ramblings as a software development engineer. I intend to add logs of my experience with different technologies, software, tech books/articles and related stuff from time to time. My intention is to have an archive for my personal use and public benefit.

Monday, February 27, 2006

Vim: Setting different indentation for Ruby files

Adding this to .vimrc file should result in shift-width set to two when editing ruby files:

autocmd FileType ruby setlocal sw=2

0 Comments:

Post a Comment

<< Home