You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That means, if I map I enterInsertMode keyCode=27 modifiers=8, then
<Esc> won't make InsertMode exit and will be passed to the page's other listeners
<Shift-Esc> will make InsertMode exit
You know, <Shift-Esc> originally shows Task Manager of Chrome, so it does no harm to re-map it.
I suppose that we need just ONE method to exit global InsertMode, but if there has to multi ways, you may map several keys to InsertMode with different options.
The text was updated successfully, but these errors were encountered:
I get an idea of using custom combined keys to exit global InsertMode.
Now Vimium supports extra options,so we may add two options to command
enterInsertMode
, and they will be like:keyCode=27
andmodifiers=0
.27
is used as the only one valid keyCode to exit InsertMode on handling a keydown event0
represents controller keys's status:altKey | (ctrlKey << 1) | (metaKey << 2) | (shiftKey << 3)
That means, if I
map I enterInsertMode keyCode=27 modifiers=8
, then<Esc>
won't make InsertMode exit and will be passed to the page's other listeners<Shift-Esc>
will make InsertMode exit<Shift-Esc>
originally shows Task Manager of Chrome, so it does no harm to re-map it.I suppose that we need just ONE method to exit global
InsertMode
, but if there has to multi ways, you may map several keys toInsertMode
with different options.The text was updated successfully, but these errors were encountered: