aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-03-20 13:11:29 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-03-20 13:11:29 +0100
commit426fd946bb609b787e828a89546ba9961b9b864d (patch)
treee0a3ae857b14708056f0b60a4987a836fc003a8a
parentce06f56c96111f2a4a25178da3102033b703f3b3 (diff)
downloadvis-426fd946bb609b787e828a89546ba9961b9b864d.tar.gz
vis-426fd946bb609b787e828a89546ba9961b9b864d.tar.xz
Add additional key mappings for window switching
This closes #35 and closes #36.
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
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 } },