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

- g<esc> doesn't beep anymore

- /<up><down> searches for the changed string
This commit is contained in:
Martin Stubenschrott
2007-09-24 12:41:59 +00:00
parent 2550e5d736
commit ca3f4282b3
3 changed files with 10 additions and 14 deletions

View File

@@ -735,11 +735,14 @@ function Events() //{{{
vimperator.input.pendingArgMap = null;
vimperator.input.pendingMotionMap = null;
stop = false; // command was not a vimperator command, maybe it is a firefox command
if (key != "<Esc>" && key != "<C-[>")
{
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();
// 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();
}
}
if (stop)