From c6a80bdcb33ad9ff8e249dccb90c05097d3dedcd Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 5 Nov 2010 01:15:54 +1100 Subject: [PATCH] End both visual characterwise and linewise modes with either v_V or v_v. The distinction between these visual modes is barely implemented but having v_V delete characterwise selected text is confusing. --HG-- extra : rebase_source : c44c998f3e5572067cb858193f5fb1f2c82d3d13 --- common/content/editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/editor.js b/common/content/editor.js index d30d359b..86932885 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -662,8 +662,8 @@ const Editor = Module("editor", { function (count) { modes.push(modes.VISUAL); }); mappings.add([modes.VISUAL], - ["v"], "End visual mode", - function (count) { events.onEscape(); }); + ["v", "V"], "End visual mode", + function (count) { events.onEscape(); }); // XXX mappings.add([modes.TEXT_EDIT], ["V"], "Start visual line mode",