1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-30 03:05:44 +01:00

abbreviations for textboxes (thanks calmar)

This commit is contained in:
Martin Stubenschrott
2007-11-01 20:30:03 +00:00
parent 2e45514f1e
commit baebe6978c
7 changed files with 275 additions and 24 deletions

View File

@@ -622,7 +622,6 @@ vimperator.Events = function() //{{{
// if Hit-a-hint mode is on, special handling of keys is required
// FIXME: <Esc> should be handled properly!
if (key != "<Esc>" && key != "<C-[>")
{
if (vimperator.mode == vimperator.modes.HINTS)
@@ -684,7 +683,9 @@ vimperator.Events = function() //{{{
else
{
vimperator.input.buffer = "";
map.execute(null, vimperator.input.count);
var ret = map.execute(null, vimperator.input.count);
if (map.flags & vimperator.Mappings.flags.ALLOW_EVENT_ROUTING && ret)
stop = false;
}
}
else if (vimperator.mappings.getCandidates(vimperator.mode, candidate_command).length > 0)