Permalink
Browse files

Added Preferences menu and command palette entries

  • Loading branch information...
1 parent ddf17f0 commit 0fc83b8f3d809b1cf306d18f2a20c2bd290c8187 @wbond wbond committed Aug 9, 2011
Showing with 83 additions and 0 deletions.
  1. +32 −0 Default.sublime-commands
  2. +51 −0 Main.sublime-menu
@@ -0,0 +1,32 @@
+[
+ {
+ "caption": "Preferences: Tortoise Settings – Default",
+ "command": "open_file",
+ "args": {
+ "file": "${packages}/Tortoise/Tortoise.sublime-settings"
+ }
+ },
+ {
+ "caption": "Preferences: Tortoise Settings – User",
+ "command": "open_file",
+ "args": {
+ "file": "${packages}/User/Tortoise.sublime-settings"
+ }
+ },
+ {
+ "caption": "Preferences: Tortoise Key Bindings – Default",
+ "command": "open_file",
+ "args": {
+ "file": "${packages}/Terminal/Default (Windows).sublime-keymap",
+ "platform": "Windows"
+ }
+ },
+ {
+ "caption": "Preferences: Tortoise Key Bindings – User",
+ "command": "open_file",
+ "args": {
+ "file": "${packages}/User/Default (Windows).sublime-keymap",
+ "platform": "Windows"
+ }
+ }
+]
View
@@ -0,0 +1,51 @@
+[
+ {
+ "caption": "Preferences",
+ "mnemonic": "n",
+ "id": "preferences",
+ "children":
+ [
+ {
+ "caption": "Package Settings",
+ "mnemonic": "P",
+ "id": "package-settings",
+ "children":
+ [
+ {
+ "caption": "Tortoise",
+ "children":
+ [
+ {
+ "command": "open_file",
+ "args": {"file": "${packages}/Tortoise/Tortoise.sublime-settings"},
+ "caption": "Settings – Default"
+ },
+ {
+ "command": "open_file",
+ "args": {"file": "${packages}/User/Tortoise.sublime-settings"},
+ "caption": "Settings – User"
+ },
+ {
+ "command": "open_file",
+ "args": {
+ "file": "${packages}/Tortoise/Default (Windows).sublime-keymap",
+ "platform": "Windows"
+ },
+ "caption": "Key Bindings – Default"
+ },
+ {
+ "command": "open_file",
+ "args": {
+ "file": "${packages}/User/Default (Windows).sublime-keymap",
+ "platform": "Windows"
+ },
+ "caption": "Key Bindings – User"
+ },
+ { "caption": "-" }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+]

0 comments on commit 0fc83b8

Please sign in to comment.