vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 381c17ed7598b19d969a031c6fd59c3ba8f3cf1a parent 7925dd308aafeaf89ad96b2422333e205169723b Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 31 Mar 2015 10:31:10 +0200 Add hack to make CTRL-w CTRL-h work Diffstat:
| M | config.def.h | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/config.def.h b/config.def.h @@ -390,8 +390,9 @@ static KeyBinding vis_mode_normal[] = { { { CONTROL('w'), CONTROL('j') }, call, { .f = editor_window_next } }, { { CONTROL('w'), CONTROL('l') }, call, { .f = editor_window_next } }, { { CONTROL('w'), CONTROL('k') }, call, { .f = editor_window_prev } }, - { { CONTROL('w'), CONTROL('h') }, call, { .f = editor_window_prev } }, { { CONTROL('w'), CONTROL('w') }, call, { .f = editor_window_next } }, + { { CONTROL('w'), CONTROL('h') }, call, { .f = editor_window_prev } }, + { { CONTROL('w'), KEY(BACKSPACE) }, call, { .f = editor_window_prev } }, { { CONTROL('B') }, wscroll, { .i = -PAGE } }, { { CONTROL('F') }, wscroll, { .i = +PAGE } }, { { CONTROL('U') }, wscroll, { .i = -PAGE_HALF } },