aboutsummaryrefslogtreecommitdiff
path: root/key-bindings.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-07-04 08:22:37 +0000
committerTiago Cunha <tcunha@gmx.com>2011-07-04 08:22:37 +0000
commitfce026eb32292f412d4fda8cfc495da7b655e99d (patch)
treed7b359620ebe16e1369c43f94f671e17c8f054b0 /key-bindings.c
parente097f0b4ee30352ef1ea37ef030838b634fdf27e (diff)
downloadrtmux-fce026eb32292f412d4fda8cfc495da7b655e99d.tar.gz
rtmux-fce026eb32292f412d4fda8cfc495da7b655e99d.tar.bz2
rtmux-fce026eb32292f412d4fda8cfc495da7b655e99d.zip
Sync OpenBSD patchset 928:
Include the existing window and session name in the prompt when renaming and add a new key binding ($) for rename session. From Tiago Cunha.
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/key-bindings.c b/key-bindings.c
index d97ed5d9..d71fd521 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -1,4 +1,4 @@
-/* $Id: key-bindings.c,v 1.98 2011-01-07 14:45:34 tcunha Exp $ */
+/* $Id$ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -106,6 +106,7 @@ key_bindings_init(void)
{ '!', 0, &cmd_break_pane_entry },
{ '"', 0, &cmd_split_window_entry },
{ '#', 0, &cmd_list_buffers_entry },
+ { '$', 0, &cmd_command_prompt_entry },
{ '%', 0, &cmd_split_window_entry },
{ '&', 0, &cmd_confirm_before_entry },
{ '(', 0, &cmd_switch_client_entry },