Nikolai Weibull wrote:

> Then create the file ~/.vim/ftplugin/ruby.vim and add the following in
> it:
>
> set shiftwidth=2 [etc.]

I prefer the file ~/.vim/ftplugin/ruby_personal.vim.

It'll still be read for Ruby programs; it's a self-describing filename;
and, most importantly, it won't be overwritten by some over-zealous
Vim/Ruby configuration file distribution!

Gavin