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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user