1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 08:37:59 +01:00

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
This commit is contained in:
Doug Kearns
2010-11-05 01:15:54 +11:00
parent c1c20175fb
commit c6a80bdcb3

View File

@@ -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",