From: Gavin Sinclair Date: 2004-09-20T06:49:03+09:00 Subject: Re: [ANN] Vim/Ruby Configuration Files, 2004.09.20 On Monday, September 20, 2004, 3:58:03 AM, Eric wrote: > On Sep 19, 2004, at 9:29 AM, Gavin Sinclair wrote: >> Hi all, >> >> Many Vim users will be aware of this RubyForge project: >> >> http://vim-ruby.rubyforge.org/ >> >> It contains several configuration files that make Vim work better with >> Ruby. The files in this release represent a significant improvement >> over the ones in the Vim 6.3 release. > Last night I was wondering aloud on IRC why vim always unindented > comments when I typed them on a blank line. I thought I'd fixed the > problem at work, but couldn't remember how. Another guy had the same > problem. After poking around a bit, I discovered that the problem was > that I had smartindent turned on in my .vimrc. You really want > nosmartindent when editing ruby files in vim. I guess that's something I can add to ftplugin/ruby.vim then: set nosmartindent (Or whatever the correct syntax is.) Gavin P.S. I've been wondering that too!