Skip to content

Instantly share code, notes, and snippets.

@FrancisGX
Created April 5, 2013 22:13
Show Gist options
  • Save FrancisGX/5323083 to your computer and use it in GitHub Desktop.
Save FrancisGX/5323083 to your computer and use it in GitHub Desktop.
A useful shortcut for working in RoR Gemfiles with Subl. 1. Save this file to /Users/yourname/Library/Application Support/Sublime Text 2/Packages/User (Be sure to remove the .xml extension) 2. Open a gemfile, type gem, and then press tab.
<snippet>
<content><![CDATA[
gem '${1:gem_name}'${2:, '${3:version}'}
]]></content>
<tabTrigger>gem</tabTrigger>
<scope>source.ruby</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment