vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 3af95c615b9e66341c643242bded299a0c1b3515
parent 4db45b615aa0dd861e82ab7bc1c3df2535a1bdbb
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Wed,  6 Jan 2016 11:03:42 +0100

vis: make <C-v> also available at :-command prompt

Diffstat:
Mconfig.def.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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) },