From 34e9b2ebcc73160d6d176cf166ecd6345a70433d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 24 Sep 2014 20:16:52 +0200 Subject: Implement window related keys (CTRL-W ...) in terms of ':'-commands --- config.def.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index faa7e06..f07369f 100644 --- a/config.def.h +++ b/config.def.h @@ -360,8 +360,9 @@ static KeyBinding vis_marks_set[] = { static KeyBinding vis_mode_normal[] = { { { CONTROL('w'), NONE('n') }, winnew, { .s = NULL } }, - { { CONTROL('w'), NONE('q') }, winclose, { .s = NULL } }, - { { CONTROL('w'), NONE('s') }, winsplit, { .b = false } }, + { { CONTROL('w'), NONE('c') }, cmd, { .s = "q" } }, + { { 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('k') }, call, { .f = editor_window_prev } }, { { CONTROL('B') }, wscroll, { .i = -PAGE } }, -- cgit v1.2.3