summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-09-08 22:02:28 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-09-08 22:02:28 +0000
commita22a6deda500945b13687997f09279d62e91e0e8 (patch)
tree1439108eb46e166fcd1571c1a2dde87f3dba855e /key-bindings.c
parentbbf743769bf0e71dbd6c0cc96aa6817662b939e1 (diff)
Add -n and -p flags to switch-client to move to the next and previous
session (yes, it doesn't match window/pane, but so what, nor does switch-client). Based on a diff long ago from "edsouza".
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/key-bindings.c b/key-bindings.c
index 2a039af0..61d392d3 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -108,6 +108,8 @@ key_bindings_init(void)
{ '#', 0, &cmd_list_buffers_entry },
{ '%', 0, &cmd_split_window_entry },
{ '&', 0, &cmd_confirm_before_entry },
+ { '(', 0, &cmd_switch_client_entry },
+ { ')', 0, &cmd_switch_client_entry },
{ ',', 0, &cmd_command_prompt_entry },
{ '-', 0, &cmd_delete_buffer_entry },
{ '.', 0, &cmd_command_prompt_entry },