Is it possible to map esc to hit esc twice?
When I am using Vintage mode, I find myself hitting the esc twice everytime I want to go back to command because the autocomplete box also requires and esc to quit.
Is it possible to map esc to hit esc twice?
When I am using Vintage mode, I find myself hitting the esc twice everytime I want to go back to command because the autocomplete box also requires and esc to quit.
[code] { “keys”: “escape”], “command”: “exit_insert_mode”,
“context”:
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false },
{ "key": "setting.vintage_ctrl_keys" }
]
}[/code]
The code from @C0D312 didn’t work for me as is, but changing the value of keys
to an array (["escape"]
) seemed to work:
{
"keys": ["escape"],
"command": "exit_insert_mode",
"context": [
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false },
{ "key": "setting.vintage_ctrl_keys" }
]
}