Created
August 10, 2012 18:32
-
-
Save foca/3316523 to your computer and use it in GitHub Desktop.
Per project .vimrc files. See http://coderwall.com/p/tqns-w
This file contains 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
autocmd User Rails Rnavcommand form app/forms -glob=**/* -suffix=_form.rb | |
autocmd User Rails Rnavcommand service app/services -glob=**/*.rb -suffix=_service.rb | |
autocmd User Rails Rnavcommand uploader app/uploaders -glob=**/*.rb -suffix=_uploader.rb | |
autocmd User Rails Rnavcommand config config -glob=**/* -suffix=.rb | |
autocmd User Rails Rnavcommand factories -default=test/support/factories -suffix=.rb | |
autocmd FileType ruby,eruby,javascript,html set shiftwidth=2 softtabstop=2 expandtab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment