vis

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

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

commit 7925dd308aafeaf89ad96b2422333e205169723b
parent 908220e93f679b1d2703f64f64c2448ac13fb559
Author: Odin Dutton <odindutton@gmail.com>
Date:   Mon, 30 Mar 2015 16:43:54 +0100

Add additional key mappings for window switching

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

diff --git a/config.def.h b/config.def.h @@ -384,9 +384,13 @@ static KeyBinding vis_mode_normal[] = { { { CONTROL('w'), NONE('s') }, cmd, { .s = "split" } }, { { CONTROL('w'), NONE('v') }, cmd, { .s = "vsplit" } }, { { CONTROL('w'), NONE('j') }, call, { .f = editor_window_next } }, + { { CONTROL('w'), NONE('l') }, call, { .f = editor_window_next } }, { { CONTROL('w'), NONE('k') }, call, { .f = editor_window_prev } }, + { { CONTROL('w'), NONE('h') }, call, { .f = editor_window_prev } }, { { 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('B') }, wscroll, { .i = -PAGE } }, { { CONTROL('F') }, wscroll, { .i = +PAGE } },