+9

Multiple bindings for same key

Sven Axelsson 6 years ago • updated by Nowaker 5 years ago 2
SublimeText is awsome! Almost everything works "just right". However, one thing I miss from TextMate is to have several different commands bound to the same key, in which case a popup menu will display and let you select the command you want. Any plans to implement something similar in SublimeText? The number of plugins is growing and the number of available keys is limited, so please consider it.
Please consider implementing this feature. We already have quite a few shortcut clashes in the available packages and it is a bother to try to remap them manually. This is really the only thing I think TextMate does better than Sublime Text.

Multiple binding would allow something like this:


{ "keys": ["ctrl+/"], "command": "move", "args": {"by": "lines", "forward": true} },

{ "keys": ["ctrl+/"], "command": "toggle_comment", "args": { "block": false } },


Flexibility calls for multiple binds.