From 1938c994e7d9a27741735e6821217a16a134f039 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 17 Jul 2009 13:43:07 +0000 Subject: [PATCH] Remove a duplicate key binding, and turn off autorepeat for up/down as it is kind of annoying by default. --- key-bindings.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/key-bindings.c b/key-bindings.c index 6fb3b89d..56b1d58b 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -135,12 +135,11 @@ key_bindings_init(void) { KEYC_ADDESC('1'), 0, &cmd_select_layout_entry }, { KEYC_ADDESC('2'), 0, &cmd_select_layout_entry }, { KEYC_ADDESC('9'), 0, &cmd_select_layout_entry }, - { KEYC_ADDCTL(KEYC_DOWN), 1, &cmd_resize_pane_entry }, { KEYC_PPAGE, 0, &cmd_scroll_mode_entry }, { KEYC_ADDESC('n'), 0, &cmd_next_window_entry }, { KEYC_ADDESC('p'), 0, &cmd_previous_window_entry }, - { KEYC_UP, 1, &cmd_up_pane_entry }, - { KEYC_DOWN, 1, &cmd_down_pane_entry }, + { KEYC_UP, 0, &cmd_up_pane_entry }, + { KEYC_DOWN, 0, &cmd_down_pane_entry }, { KEYC_ADDESC(KEYC_UP), 1, &cmd_resize_pane_entry }, { KEYC_ADDESC(KEYC_DOWN), 1, &cmd_resize_pane_entry }, { KEYC_ADDCTL(KEYC_UP), 1, &cmd_resize_pane_entry },