aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-01-06 18:44:29 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-01-06 22:15:26 +0100
commit876b8f94649c9ec405375cf687b55a65e2e666ec (patch)
tree672e184c16bc6a5749869d75847b9db1fdeb570b /config.def.h
parent855a1acf28a8e68659fb084018a564c2d59e2c64 (diff)
downloadvis-876b8f94649c9ec405375cf687b55a65e2e666ec.tar.gz
vis-876b8f94649c9ec405375cf687b55a65e2e666ec.tar.xz
Change :open to create a new window if no argument is given
Use it for the creation of a new window without changing the layout as split and vsplit do. Map it to CTRL+w n.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index e9c055a..655671f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -370,7 +370,7 @@ static KeyBinding vis_marks_set[] = {
};
static KeyBinding vis_mode_normal[] = {
- { { CONTROL('w'), NONE('n') }, winnew, { .s = NULL } },
+ { { CONTROL('w'), NONE('n') }, cmd, { .s = "open" } },
{ { CONTROL('w'), NONE('c') }, cmd, { .s = "q" } },
{ { CONTROL('w'), NONE('s') }, cmd, { .s = "split" } },
{ { CONTROL('w'), NONE('v') }, cmd, { .s = "vsplit" } },