aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-03-31 10:31:10 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-03-31 10:31:10 +0200
commitd95f7600f30f80a80af590e7b1386b065d6fe8e7 (patch)
treec3734ae0ec16a60cc0b316626a18a770f061e327 /config.def.h
parent450b0181ebfcabd01ebf45eadb4c9b4fee825ce6 (diff)
downloadvis-d95f7600f30f80a80af590e7b1386b065d6fe8e7.tar.gz
vis-d95f7600f30f80a80af590e7b1386b065d6fe8e7.tar.xz
Add hack to make CTRL-w CTRL-h work
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 1d2b0f9..ee6d4ae 100644
--- 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 } },