vis

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

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

commit c9c9207bc4eb841445a8589b2ad42ab2b42227ac
parent cb5f6df1b4616fcc8b50ae4f2204a2bcb3dcf5f8
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Wed, 10 Sep 2014 23:59:26 +0200

Reindent readline key bindings

Diffstat:
Mconfig.def.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -383,12 +383,12 @@ static void vis_visual_leave(Mode *new) { } static KeyBinding vis_readline_mode[] = { - { { NONE(ESC) }, switchmode, { .i = VIS_MODE_NORMAL } }, - { { CONTROL('c') }, switchmode, { .i = VIS_MODE_NORMAL } }, + { { NONE(ESC) }, switchmode, { .i = VIS_MODE_NORMAL } }, + { { CONTROL('c') }, switchmode, { .i = VIS_MODE_NORMAL } }, BACKSPACE( call, f, editor_backspace_key ), { { CONTROL('D') }, call, { .f = editor_delete_key } }, { { CONTROL('W') }, delete, { .i = MOVE_WORD_START_PREV } }, - { /* empty last element, array terminator */ }, + { /* empty last element, array terminator */ }, }; static KeyBinding vis_prompt_mode[] = {