vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit c09c73050d332dae64282e142ac137093a510b02 parent fbf58add117e337160982caa5d23d61af1fb44e0 Author: Marc André Tanner <mat@brain-dump.org> Date: Fri, 20 Mar 2015 13:11:29 +0100 Add additional key mappings for window switching This closes #35 and closes #36. Diffstat:
| M | config.def.h | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h @@ -385,6 +385,9 @@ static KeyBinding vis_mode_normal[] = { { { CONTROL('w'), NONE('v') }, cmd, { .s = "vsplit" } }, { { CONTROL('w'), NONE('j') }, call, { .f = editor_window_next } }, { { CONTROL('w'), NONE('k') }, call, { .f = editor_window_prev } }, + { { CONTROL('w'), CONTROL('j') }, call, { .f = editor_window_next } }, + { { CONTROL('w'), CONTROL('k') }, call, { .f = editor_window_prev } }, + { { CONTROL('w'), CONTROL('w') }, call, { .f = editor_window_next } }, { { CONTROL('B') }, wscroll, { .i = -PAGE } }, { { CONTROL('F') }, wscroll, { .i = +PAGE } }, { { CONTROL('U') }, wscroll, { .i = -PAGE_HALF } },