aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-05 16:00:37 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-05 16:14:01 +0200
commit9e64bf166ac329103a98baafce10e42242898373 (patch)
tree1e2eb2dd87c0908fe69705d1df719954caf7173f /config.def.h
parent087702ad546b42be13ccd5e3e0cd69b104aa4e3f (diff)
downloadvis-9e64bf166ac329103a98baafce10e42242898373.tar.gz
vis-9e64bf166ac329103a98baafce10e42242898373.tar.xz
vis: let <C-l> remove all but the count cursor column
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index a72af52..26ff499 100644
--- a/config.def.h
+++ b/config.def.h
@@ -231,7 +231,7 @@ static const KeyBinding bindings_normal[] = {
{ "<C-r>", ACTION(REDO) },
{ "g+", ACTION(LATER) },
{ "g-", ACTION(EARLIER) },
- { "<C-l>", ACTION(REDRAW) },
+ { "<C-l>", ACTION(CURSORS_REMOVE_COLUMN_EXCEPT) },
{ ":", ACTION(PROMPT_SHOW) },
{ "ZZ", ALIAS(":wq<Enter>") },
{ "ZQ", ALIAS(":q!<Enter>") },
@@ -266,6 +266,7 @@ static const KeyBinding bindings_visual[] = {
{ "<Delete>", ALIAS("<Backspace>") },
{ "<Escape>", ACTION(MODE_NORMAL) },
{ "<C-c>", ACTION(CURSORS_REMOVE_COLUMN) },
+ { "<C-l>", ACTION(CURSORS_REMOVE_COLUMN_EXCEPT) },
{ "v", ALIAS("<Escape>") },
{ "V", ACTION(MODE_VISUAL_LINE) },
{ ":", ACTION(PROMPT_SHOW) },