vis

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

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

commit 5c662bb1d5ae78061fd0ba653f558343f6b9dcdf
parent c9c9207bc4eb841445a8589b2ad42ab2b42227ac
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 11 Sep 2014 00:00:22 +0200

Add readline Ctrl+U binding

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

diff --git a/config.def.h b/config.def.h @@ -388,6 +388,7 @@ static KeyBinding vis_readline_mode[] = { BACKSPACE( call, f, editor_backspace_key ), { { CONTROL('D') }, call, { .f = editor_delete_key } }, { { CONTROL('W') }, delete, { .i = MOVE_WORD_START_PREV } }, + { { CONTROL('U') }, delete, { .i = MOVE_LINE_BEGIN } }, { /* empty last element, array terminator */ }, };