From efd889faa184a936907b7eb42af95ee763738cae Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Fri, 14 Sep 2007 04:23:58 +0000 Subject: [PATCH] fixed visual->caret transistion on escape --- chrome/content/vimperator/events.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chrome/content/vimperator/events.js b/chrome/content/vimperator/events.js index 4333bdb7..fce84658 100644 --- a/chrome/content/vimperator/events.js +++ b/chrome/content/vimperator/events.js @@ -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