summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-04-01 13:18:38 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-04-01 13:18:38 +0000
commit85f5485cb5e46d6d574b7a1b8c1357c85b528e2b (patch)
tree302c5d6ffd1bc655d2ab33c808df7d0cc1e2acf2 /key-bindings.c
parentb831f8635409883e2ad2b6feedf05821f8f2ea84 (diff)
Add a layout history which can be stepped through with select-layout -u
and -U commands (bound to 'u' and 'U' by default).
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 fb1590a5..ea27848c 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -130,6 +130,7 @@ key_bindings_init(void)
{ '?', 0, &cmd_list_keys_entry },
{ 'D', 0, &cmd_choose_client_entry },
{ 'L', 0, &cmd_switch_client_entry },
+ { 'U', 1, &cmd_select_layout_entry },
{ '[', 0, &cmd_copy_mode_entry },
{ '\'', 0, &cmd_command_prompt_entry },
{ '\002', /* C-b */ 0, &cmd_send_prefix_entry },
@@ -148,6 +149,7 @@ key_bindings_init(void)
{ 'r', 0, &cmd_refresh_client_entry },
{ 's', 0, &cmd_choose_session_entry },
{ 't', 0, &cmd_clock_mode_entry },
+ { 'u', 1, &cmd_select_layout_entry },
{ 'w', 0, &cmd_choose_window_entry },
{ 'x', 0, &cmd_confirm_before_entry },
{ '{', 0, &cmd_swap_pane_entry },