mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 04:12:27 +01:00
new alwayshints mode on ;a and F for quickhints in new tab
This commit is contained in:
@@ -52,11 +52,15 @@ vimperator.Events = function() //{{{
|
||||
vimperator.buffer.updateBufferList();
|
||||
}, false);
|
||||
tabcontainer.addEventListener("TabSelect", function(event) {
|
||||
if (vimperator.mode == vimperator.modes.HINTS)
|
||||
vimperator.modes.reset();
|
||||
|
||||
vimperator.commandline.clear();
|
||||
vimperator.modes.show();
|
||||
vimperator.statusline.updateTabCount();
|
||||
vimperator.buffer.updateBufferList();
|
||||
vimperator.tabs.updateSelectionHistory();
|
||||
|
||||
setTimeout(function() { vimperator.focusContent(true); }, 10); // just make sure, that no widget has focus
|
||||
}, false);
|
||||
|
||||
@@ -620,7 +624,8 @@ vimperator.Events = function() //{{{
|
||||
vimperator.hints.onEvent(event);
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
return false;
|
||||
return true;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user