Reputation: 1581
I want to know how to bind space
key in command-mode
using Vintageous
plugin.
For example, I have the following keybinding to activate command palette
:
{
"keys": ["super+shift+alt+ctrl+space"],
"command": "show_overlay",
"args": {
"overlay": "command_palette"
},
"context": [{
"key": "vi_command_mode_aware"
}]
}
As you can see, I use meta
key with space
. But my purpose is just to only use space
key. Is it possible to do so. If I changed to "keys": ["space"]
, the binding is defective.
I'm using Sublime Text 3 build 3095 on OSX 10.11.2
Upvotes: 1
Views: 386
Reputation: 5353
Maybe you want to use <space>
, defined here
@plugins.register(seqs.SPACE, (modes.NORMAL, ))
Upvotes: 0