From af04463585c652225b73ad61cce8be7346580df4 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 23 Sep 2007 13:15:18 +0000 Subject: [PATCH] allow all unknown key mappings to be passed through to FF --- chrome/content/vimperator/events.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/chrome/content/vimperator/events.js b/chrome/content/vimperator/events.js index e7b632dc..8c6f397d 100644 --- a/chrome/content/vimperator/events.js +++ b/chrome/content/vimperator/events.js @@ -735,9 +735,10 @@ function Events() //{{{ vimperator.input.pendingArgMap = null; vimperator.input.pendingMotionMap = null; - if (vimperator.mode == vimperator.modes.INSERT || vimperator.mode == vimperator.modes.COMMAND_LINE) - stop = false; // command was not a vimperator command, maybe it is a firefox command - else + stop = false; // command was not a vimperator command, maybe it is a firefox command + + // TODO: see if this check is needed or are all motion commands already mapped in these modes? + if (vimperator.mode != vimperator.modes.INSERT && vimperator.mode != vimperator.modes.COMMAND_LINE) vimperator.beep(); }