From c02b5cbec11a824006c35bb2cc432bd2141b4809 Mon Sep 17 00:00:00 2001 From: Adam Willoughby-Knox Date: Mon, 2 Jun 2014 09:35:31 -0700 Subject: [PATCH] platform specific keymaps declarations Package is "Sublime Bookmarks" right, with a space? Space is non standard naming though. --- Main.sublime-menu | 43 ++++++++++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 11 deletions(-) diff --git a/Main.sublime-menu b/Main.sublime-menu index e5ceb80..1d819f7 100644 --- a/Main.sublime-menu +++ b/Main.sublime-menu @@ -35,17 +35,38 @@ "children": [ { "caption": "-" }, - { - "command": "open_file", - "args": {"file": "${packages}/Sublime Bookmarks/Default.sublime-keymap"}, - "caption": "Key Bindings – Default" - }, - { - "command": "open_file", - "args": {"file": "${packages}/User/Default.sublime-keymap"}, - "caption": "Key Bindings – User" - }, - { "caption": "-" } + { + "command": "open_file", + "args": { + "file": "${packages}/Sublime Bookmarks/Default (OSX).sublime-keymap", + "platform": "OSX" + }, + "caption": "Key Bindings – Default" + }, + { + "command": "open_file", + "args": { + "file": "${packages}/Sublime Bookmarks/Default (Linux).sublime-keymap", + "platform": "Linux" + }, + "caption": "Key Bindings – Default" + }, + { + "command": "open_file", + "args": { + "file": "${packages}/Sublime Bookmarks/Default (Windows).sublime-keymap", + "platform": "Windows" + }, + "caption": "Key Bindings – Default" + }, + { + "command": "open_file", + "args": { + "file": "${packages}/User/Default.sublime-keymap" + }, + "caption": "Key Bindings – User" + }, + { "caption": "-" } ] } ]