From: Arlen Cuss Date: 2008-02-28T21:02:21+09:00 Subject: Re: Looking for good Ruby and Rails configuration for vim ------=_Part_15352_21902423.1204200149010 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have these set in my local .vimrc: set sw=2 set smartindent set smarttab It sets two space 'virtual' tabs (so when you hit tab, it inserts two spaces, and when you hit backspace on whitespace at the beginning of the line, it takes two spaces - series of 8 are converted to real tabs). In my global vimrc, these are set: syntax on set showcmd set showmatch set smartcase set incsearch set mouse=a This enables syntax highlighting, shows commands as you type them in the status bar, highlights matched text as you enter it while searching (with `/'), sets the case matching to `smart' (no idea about the semantics, try :help smartcase), sets searches to start from where your cursor is, and enables mouse usage in consoles that allow it. Cheers, Arlen. ------=_Part_15352_21902423.1204200149010--