Created
January 31, 2012 10:23
-
-
Save theirishpenguin/1709784 to your computer and use it in GitHub Desktop.
Janus .vimrc configuration to set indentation to 4 spaces instead of 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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