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".
This commit is contained in:
Nicholas Marriott
2010-09-08 22:02:28 +00:00
parent bbf743769b
commit a22a6deda5
5 changed files with 111 additions and 7 deletions

View File

@ -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 },