Skip to content

Instantly share code, notes, and snippets.

@seeflanigan
Forked from levicole/gist:1021040
Created June 12, 2011 04:29
Show Gist options
  • Save seeflanigan/1021254 to your computer and use it in GitHub Desktop.
Save seeflanigan/1021254 to your computer and use it in GitHub Desktop.
autocmd User Rails Rnavcommand config config -suffix.rb -default=environment
autocmd User Rails Rnavcommand fabricator spec/fabricators -glob=**/* -suffix=_fabricator.rb
autocmd User Rails Rnavcommand feature features -suffix=.feature -default=cucumber
autocmd User Rails Rnavcommand sass app/stylesheets -glob=**/* -suffix=.sass -default=main
autocmd User Rails Rnavcommand scss app/stylesheets -glob=**/* -suffix=.scss -default=style
autocmd User Rails Rnavcommand steps features/step_definitions -suffix=_steps.rb -default=web
let g:surround_{char2nr("l")} = "link_to \1text: \1, \2path:\2\r"
let g:surround_{char2nr("#")} = "#{\r}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment