Skip to content

Instantly share code, notes, and snippets.

@levicole
Created June 11, 2011 22:29
Show Gist options
  • Save levicole/1021040 to your computer and use it in GitHub Desktop.
Save levicole/1021040 to your computer and use it in GitHub Desktop.
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}"
@levicole
Copy link
Author

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