Created
June 11, 2011 22:29
-
-
Save levicole/1021040 to your computer and use it in GitHub Desktop.
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 sass app/stylesheets -glob=**/* -suffix=.sass | |
autocmd User Rails Rnavcommand feature features -suffix=.feature | |
autocmd User Rails Rnavcommand fabricator spec/fabricators -suffix=_fabricator.rb | |
let g:surround_{char2nr("l")} = "link_to \1text: \1, \2path:\2\r" | |
let g:surround_{char2nr("#")} = "#{\r}" |
That was already included for me somewhere, as well as factories.
I really like the link_to surround helper as well as the interpolation surround helper.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
autocmd User Rails Rnavcommand steps features/step_definitions -suffix=_steps.rb -default=web