From 876b8f94649c9ec405375cf687b55a65e2e666ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 6 Jan 2015 18:44:29 +0100 Subject: 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. --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.def.h') 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" } }, -- cgit v1.2.3