allow keys not handled by vim to be handled by default ace keybinding
This commit is contained in:
parent
fdf832784f
commit
3296dd7471
1 changed files with 2 additions and 0 deletions
|
|
@ -146,6 +146,8 @@ exports.handler = {
|
|||
if (cmds.inputBuffer.idle && startCommands[key])
|
||||
return startCommands[key];
|
||||
var isHandled = cmds.inputBuffer.push(editor, key);
|
||||
if (!isHandled && hashId !== -1)
|
||||
return;
|
||||
return {command: "null", passEvent: !isHandled};
|
||||
} // if no modifier || shift: wait for input.
|
||||
else if (key.length == 1 && (hashId === 0 || hashId == 4)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue