1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 05:34:14 +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);
}
}
else
{
if (!could_copy && vimperator.modes.extended & vimperator.modes.CARET)
vimperator.mode = vimperator.modes.CARET;
}
//else
//{
// if (!could_copy && vimperator.modes.extended & vimperator.modes.CARET)
// vimperator.mode = vimperator.modes.CARET;
//}
}
// global escape handler, is called in ALL modes