Reputation: 8242
I like to assign what I consider the most useful/used shortcut in my IDE or editor to the 0 on the numeric keypad. I find it fast and convenient. I have keypad in NumLock mode but that is fine. I would like to assign Sublime's SH-CTRL-P to this key but I can't seem to do it. I can get close with the PLUS key by using:
{ "keys": ["keypad_plus"], "command": "show_overlay", "args": {"overlay": "command_palette"} }
I've tried keypad_zero
and keypad_0
but neither worked. Can it be done? What's the magic string?
Upvotes: 2
Views: 2327
Reputation: 19744
keypad0
should work. Found by logging input sublime.log_input(True)
though I think there is a list somewhere too, just to lazy to find it. :)
Upvotes: 8