Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

· Scoped template keyboard equivalent removed. Help file suggests add…

…ing an unscoped equivalent locally.

git-svn-id: http://svn.textmate.org/trunk/Bundles/Greasemonkey.tmbundle@6881 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
commit 400c6b6f384547945b281425045bdefd50af06df 1 parent 5631783
Henrik Nyh henrik authored
4 Support/help.markdown
Source Rendered
... ... @@ -1,4 +1,4 @@
1   -# Template (⌃⌥⇧⌘G)
  1 +# Template
2 2
3 3 Select `File > New From Template > Greasemonkey > Userscript` to create a new script from template. The template outputs this:
4 4
@@ -19,7 +19,7 @@ You should change the `template.user.js` template to include whatever functions
19 19
20 20 Optionally, if you create a file `~/Library/Preferences/com.macromates.textmate.gmbundle.staples.user.js`, the `/* Your favorite functions go here. */` comment will be substituted with its contents whenever a new script is created. This might be useful if you want to version control your staple code.
21 21
22   -You may wish to remove (in the Bundle Editor) the `source.js.greasemonkey` scope for this template so that it works no matter what you're editing.
  22 +If you often create new userscripts, you may wish to add (in the Bundle Editor) a key equivalent such as ⌃⌥⇧⌘G for this template.
23 23
24 24
25 25
4 Templates/Userscript.tmTemplate/info.plist
@@ -21,12 +21,8 @@ fi
21 21 } &amp;&gt;/dev/null &amp;</string>
22 22 <key>extension</key>
23 23 <string>user.js</string>
24   - <key>keyEquivalent</key>
25   - <string>^~@G</string>
26 24 <key>name</key>
27 25 <string>Userscript</string>
28   - <key>scope</key>
29   - <string>source.js.greasemonkey</string>
30 26 <key>uuid</key>
31 27 <string>CE909406-072C-4C55-B1B7-2EE123D27C20</string>
32 28 </dict>

0 comments on commit 400c6b6

Please sign in to comment.
Something went wrong with that request. Please try again.