vim ctrl-w in insert mode

This commit is contained in:
nightwing 2012-04-28 10:58:23 +04:00
commit 48450d1ab9

View file

@ -94,6 +94,8 @@ exports.handler = {
if (key == 'esc' || key == 'ctrl-[') { if (key == 'esc' || key == 'ctrl-[') {
data.state = 'start'; data.state = 'start';
return {command: coreCommands.stop}; return {command: coreCommands.stop};
} else if (key == "ctrl-w") {
return {command: "removewordleft"};
} }
} }
}, },