Created
April 5, 2013 22:13
-
-
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.
This file contains hidden or 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
<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