aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-04 20:31:58 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-04 20:31:58 +0200
commit4c316385d06858edcb9d107dde1996a25959164f (patch)
tree59c2e637aaf33dbe9beffc2b0e545fe649f44e77 /config.def.h
parent36e663f30e0bcd225164780022d04dc84bd7da13 (diff)
downloadvis-4c316385d06858edcb9d107dde1996a25959164f.tar.gz
vis-4c316385d06858edcb9d107dde1996a25959164f.tar.xz
vis: let <C-c> remove the count cursor column
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 0af24fd..a72af52 100644
--- a/config.def.h
+++ b/config.def.h
@@ -174,7 +174,7 @@ static const KeyBinding bindings_operator_options[] = {
static const KeyBinding bindings_normal[] = {
{ "<Escape>", ACTION(CURSORS_REMOVE_ALL) },
- { "<C-c>", ALIAS("<Escape>") },
+ { "<C-c>", ACTION(CURSORS_REMOVE_COLUMN) },
{ "<Delete>", ALIAS("x") },
{ "<C-k>", ACTION(CURSORS_NEW_LINE_ABOVE) },
{ "<M-C-k>", ACTION(CURSORS_NEW_LINE_ABOVE_FIRST) },
@@ -265,7 +265,7 @@ static const KeyBinding bindings_visual[] = {
{ "<C-h>", ALIAS("<Backspace>") },
{ "<Delete>", ALIAS("<Backspace>") },
{ "<Escape>", ACTION(MODE_NORMAL) },
- { "<C-c>", ALIAS("<Escape>") },
+ { "<C-c>", ACTION(CURSORS_REMOVE_COLUMN) },
{ "v", ALIAS("<Escape>") },
{ "V", ACTION(MODE_VISUAL_LINE) },
{ ":", ACTION(PROMPT_SHOW) },