Browse files

· 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...
1 parent 5631783 commit 400c6b6f384547945b281425045bdefd50af06df @henrik henrik committed Mar 24, 2007
Showing with 2 additions and 6 deletions.
  1. +2 −2 Support/help.markdown
  2. +0 −4 Templates/Userscript.tmTemplate/info.plist
View
4 Support/help.markdown
@@ -1,4 +1,4 @@
-# Template (⌃⌥⇧⌘G)
+# Template
Select `File > New From Template > Greasemonkey > Userscript` to create a new script from template. The template outputs this:
@@ -19,7 +19,7 @@ You should change the `template.user.js` template to include whatever functions
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.
-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.
+If you often create new userscripts, you may wish to add (in the Bundle Editor) a key equivalent such as ⌃⌥⇧⌘G for this template.
View
4 Templates/Userscript.tmTemplate/info.plist
@@ -21,12 +21,8 @@ fi
} &amp;&gt;/dev/null &amp;</string>
<key>extension</key>
<string>user.js</string>
- <key>keyEquivalent</key>
- <string>^~@G</string>
<key>name</key>
<string>Userscript</string>
- <key>scope</key>
- <string>source.js.greasemonkey</string>
<key>uuid</key>
<string>CE909406-072C-4C55-B1B7-2EE123D27C20</string>
</dict>

0 comments on commit 400c6b6

Please sign in to comment.