1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-04 10:55:46 +01:00

fixed visual->caret transistion on escape

This commit is contained in:
Martin Stubenschrott
2007-09-14 04:23:58 +00:00
parent c31b0e782b
commit efd889faa1

View File

@@ -417,11 +417,11 @@ function Events() //{{{
vimperator.modes.set(vimperator.modes.VISUAL, vimperator.modes.CARET); vimperator.modes.set(vimperator.modes.VISUAL, vimperator.modes.CARET);
} }
} }
else //else
{ //{
if (!could_copy && vimperator.modes.extended & vimperator.modes.CARET) // if (!could_copy && vimperator.modes.extended & vimperator.modes.CARET)
vimperator.mode = vimperator.modes.CARET; // vimperator.mode = vimperator.modes.CARET;
} //}
} }
// global escape handler, is called in ALL modes // global escape handler, is called in ALL modes