From 16da506830c417c806ce3e7e87a271672f502eb7 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 17 Jul 2009 13:43:08 +0000 Subject: Remove a duplicate key binding, and turn off autorepeat for up/down as it is kind of annoying by default. --- usr.bin/tmux/key-bindings.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'usr.bin/tmux') diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c index 36c1fec780c..7633bbcae1c 100644 --- a/usr.bin/tmux/key-bindings.c +++ b/usr.bin/tmux/key-bindings.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key-bindings.c,v 1.3 2009/07/15 17:39:00 nicm Exp $ */ +/* $OpenBSD: key-bindings.c,v 1.4 2009/07/17 13:43:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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 }, -- cgit v1.2.3