summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-07-17 13:43:08 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-07-17 13:43:08 +0000
commit16da506830c417c806ce3e7e87a271672f502eb7 (patch)
treef6b3dfe653c69e214c0b6ac25c726a4b6b6408fe /usr.bin/tmux
parent85bb8af05c2e61c98a9990a7ce603b422413aa40 (diff)
Remove a duplicate key binding, and turn off autorepeat for up/down as it is
kind of annoying by default.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/key-bindings.c7
1 files changed, 3 insertions, 4 deletions
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 <nicm@users.sourceforge.net>
@@ -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 },