- Code: Select all
{ "keys": ["super+r", "super+shift+t"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
But this doesn't work, it only uses the last one.
What is the proper way to do it?
Thanks.
{ "keys": ["super+r", "super+shift+t"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
kakubei wrote:Hello, is it possible to have multiple keyboard shortcuts for the same command? I'd like to mimic the Textmate shortcuts, specifically the Go To function shortcut (Shift-cmd-T) but I don't want to overwrite the existing cmd-R shortcut, just add it. Looking at the sublime.keymap file I see the syntax is as follows:
- Code: Select all
{ "keys": ["super+r", "super+shift+t"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
But this doesn't work, it only uses the last one.
What is the proper way to do it?
Thanks.
{ "keys": ["super+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
{ "keys": ["super+shift+t"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }
["super+r", "super+shift+t"]Users browsing this forum: No registered users and 4 guests