aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-01-06 11:03:42 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-01-06 11:03:42 +0100
commit0e8d2eb25b829cea8e81b5788d35a73687d6a57d (patch)
treeec380807e2e04858f6313b113ee1d1329a6c84de /config.def.h
parentc000f5c19cf78539c954a75cc37fc8f6dced4f3a (diff)
downloadvis-0e8d2eb25b829cea8e81b5788d35a73687d6a57d.tar.gz
vis-0e8d2eb25b829cea8e81b5788d35a73687d6a57d.tar.xz
vis: make <C-v> also available at :-command prompt
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 b8b9dd5..1a549cd 100644
--- a/config.def.h
+++ b/config.def.h
@@ -308,6 +308,7 @@ static KeyBinding vis_mode_readline[] = {
{ "<C-d>", ACTION(DELETE_CHAR_NEXT) },
{ "<C-w>", ACTION(DELETE_WORD_PREV) },
{ "<C-u>", ACTION(DELETE_LINE_BEGIN) },
+ { "<C-v>", ACTION(INSERT_VERBATIM) },
{ /* empty last element, array terminator */ },
};
@@ -328,7 +329,6 @@ static KeyBinding vis_mode_insert[] = {
{ "<C-j>", ALIAS("<Enter>") },
{ "<C-m>", ALIAS("<Enter>") },
{ "<C-o>", ACTION(MODE_OPERATOR_PENDING) },
- { "<C-v>", ACTION(INSERT_VERBATIM) },
{ "<C-d>", ALIAS("<Escape><<i") },
{ "<C-t>", ALIAS("<Escape>>>i") },
{ "<C-x><C-e>", ACTION(WINDOW_SLIDE_UP) },