From 426fd946bb609b787e828a89546ba9961b9b864d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 20 Mar 2015 13:11:29 +0100 Subject: Add additional key mappings for window switching This closes #35 and closes #36. --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.def.h b/config.def.h index 7d7c495..a0876be 100644 --- 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 } }, -- cgit v1.2.3