John Maclean wrote: > Hi guys, > > This has probably been done before but I've looked through 5000+ emails and I've not seen a simple solution. I'd like to have two space indentation for *.rb files or those whose first line begins with !#/usr/bin/ruby. At the moment vim gives me eight spaces, (or is it a tab?). > [...] The best answer is to create a file ~/.vim/ftplugin/ruby.vim with the following set ts=2 sw=2 sts=2 et Regards, Gavin