aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-04-28 15:35:06 +0200
committerMarc André Tanner <mat@brain-dump.org>2020-04-28 15:35:06 +0200
commita106a42bf1ddf2d88ccf4e470bb134e6a9fa8334 (patch)
treee6d3a91abdeb045724258ffa6b1d20fac8aa41f3 /config.def.h
parentb116d210f174ad7869fcfc901f964ff62112ac41 (diff)
downloadvis-a106a42bf1ddf2d88ccf4e470bb134e6a9fa8334.tar.gz
vis-a106a42bf1ddf2d88ccf4e470bb134e6a9fa8334.tar.xz
vis: make <Escape> reset count in visual modes
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 9eaffb0..cfa87b4 100644
--- a/config.def.h
+++ b/config.def.h
@@ -284,7 +284,7 @@ static const KeyBinding bindings_visual[] = {
{ "<C-u>", ACTION(SELECTIONS_PREV) },
{ "<C-x>", ACTION(SELECTIONS_NEW_MATCH_SKIP) },
{ "<Delete>", ALIAS("<Backspace>") },
- { "<Escape>", ACTION(MODE_NORMAL) },
+ { "<Escape>", ACTION(MODE_VISUAL_ESCAPE) },
{ "I", ACTION(SELECTIONS_NEW_LINES_BEGIN) },
{ "J", ACTION(JOIN_LINES) },
{ "gJ", ACTION(JOIN_LINES_TRIM) },