Skip to content

Instantly share code, notes, and snippets.

@theirishpenguin
Created January 31, 2012 10:23
Show Gist options
  • Save theirishpenguin/1709784 to your computer and use it in GitHub Desktop.
Save theirishpenguin/1709784 to your computer and use it in GitHub Desktop.
Janus .vimrc configuration to set indentation to 4 spaces instead of 2
# Note: Best Janus practice is to drop these into ~/.vimrc.before rather than ~/.vimrc itself
set tabstop=4
set shiftwidth=4
set softtabstop=4
autocmd User Rails/**/* set tabstop=4
autocmd User Rails/**/* set shiftwidth=4
autocmd User Rails/**/* set softtabstop=4
# P.S. Thanks to http://www.savagevines.com/post/2011/8/14/overriding_indentation_settings_for_vimrails for shining light on this area
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment