1
0
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:
Martin Stubenschrott
2007-10-25 23:30:10 +00:00
parent faefb78c24
commit 11815eaa73
5 changed files with 125 additions and 76 deletions

View File

@@ -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;
}
}