NeoVintageous key handler
By default NeoVintageous handles all keys. You can ignore selected keys, in which case the handling of those keys will fallback to Sublime.
You can configure key handling via the vintageous_handle_keys
setting. Settings are accessed via the Preferences > Settings menu item. Let’s look at some examples.
If you want to ignore <C-f>
:
{
"vintageous_handle_keys": {
"<C-f>": false
}
}
If you want to ignore keys for specific modes, use one of the available mode prefixes. No prefix implies all modes.
n_ - Normal
i_ - Insert
v_ - Visual
V_ - Visual line
b_ - Visual block
s_ - Select
For example to disable <C-u>
in insert mode and <C-f>
in visual mode:
{
"vintageous_handle_keys": {
"i_<C-u>": false,
"v_<C-f>": false,
}
}
Troubleshooting
You can debug Sublime key events by running sublime.log_input(True)
in the console: Menu > View > Show Console. If Sublime is not receiving the key event, you will need to clear the existing key bind.
Further reading
:help neovintageous