Skip to content

Instantly share code, notes, and snippets.

@daviddavis
Created August 30, 2012 17:06
Show Gist options
  • Select an option

  • Save daviddavis/3533528 to your computer and use it in GitHub Desktop.

Select an option

Save daviddavis/3533528 to your computer and use it in GitHub Desktop.
vimrc for Ruby
" set up tabs for all files (recommended)
set ts=2
set et
set softtabstop=2
set sw=2
" OR
" set up tabs just for ruby
augroup filetypedetect
au FileType ruby setl sw=2 sts=2 et
augroup END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment