aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-11 10:24:01 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-11 10:24:01 +0200
commit514b6e1ddf2b086378cc689bb87765d259ac9732 (patch)
tree4116e2f4ec397a117ac81a88aa6f013e861f4ea9 /config.def.h
parente324e6975367c235ed5413f76fdc3d5189cd00a2 (diff)
downloadvis-514b6e1ddf2b086378cc689bb87765d259ac9732.tar.gz
vis-514b6e1ddf2b086378cc689bb87765d259ac9732.tar.xz
Add/cleanup window commands Ctrl-{n,s,q}
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 7b99cf5..e8247ff 100644
--- a/config.def.h
+++ b/config.def.h
@@ -333,7 +333,9 @@ static KeyBinding vis_marks_set[] = {
};
static KeyBinding vis_normal[] = {
- { { CONTROL('w'), NONE('s') }, split, { NULL } },
+ { { CONTROL('w'), NONE('n') }, winnew, { .s = NULL } },
+ { { CONTROL('w'), NONE('q') }, winclose, { .s = NULL } },
+ { { CONTROL('w'), NONE('s') }, winsplit, { .b = false } },
{ { CONTROL('w'), NONE('j') }, call, { .f = editor_window_next } },
{ { CONTROL('w'), NONE('k') }, call, { .f = editor_window_prev } },
{ { CONTROL('F') }, cursor, { .m = window_page_up } },