1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 00:27:57 +01:00

added -- MESSAGE -- mode handling to muttator. This will be the only muttator-specific mode added to the VIM core.

This commit is contained in:
Martin Stubenschrott
2008-02-05 13:49:59 +00:00
parent 6ec0f8f7c1
commit 7d9e1e100a
5 changed files with 26 additions and 11 deletions

View File

@@ -164,7 +164,8 @@ const vimperator = (function () //{{{
document.commandDispatcher.focusedElement.blur();
var elem = vimperator.config.mainWidget || content;
elem.focus();
if (elem != document.commandDispatcher.focusedElement)
elem.focus();
},
// partial sixth level expression evaluation