mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 10: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:
@@ -662,8 +662,8 @@ const Editor = Module("editor", {
|
|||||||
function (count) { modes.push(modes.VISUAL); });
|
function (count) { modes.push(modes.VISUAL); });
|
||||||
|
|
||||||
mappings.add([modes.VISUAL],
|
mappings.add([modes.VISUAL],
|
||||||
["v"], "End visual mode",
|
["v", "V"], "End visual mode",
|
||||||
function (count) { events.onEscape(); });
|
function (count) { events.onEscape(); }); // XXX
|
||||||
|
|
||||||
mappings.add([modes.TEXT_EDIT],
|
mappings.add([modes.TEXT_EDIT],
|
||||||
["V"], "Start visual line mode",
|
["V"], "Start visual line mode",
|
||||||
|
|||||||
Reference in New Issue
Block a user