mirror of
https://github.com/tmux/tmux.git
synced 2026-10-07 01:55:49 +00:00
Add T key to change pane title, from Fouad Wahabi in GitHub issue 5461.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: key-bindings.c,v 1.191 2026/08/05 12:23:25 nicm Exp $ */
|
/* $OpenBSD: key-bindings.c,v 1.192 2026/08/06 09:05:04 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
@@ -421,6 +421,7 @@ key_bindings_init(void)
|
|||||||
"bind -N 'Spread panes out evenly' E { select-layout -E }",
|
"bind -N 'Spread panes out evenly' E { select-layout -E }",
|
||||||
"bind -N 'Switch to the last client' L { switch-client -l }",
|
"bind -N 'Switch to the last client' L { switch-client -l }",
|
||||||
"bind -N 'Clear the marked pane' M { select-pane -M }",
|
"bind -N 'Clear the marked pane' M { select-pane -M }",
|
||||||
|
"bind -N 'Change the pane title' T { command-prompt -I'#T' { select-pane -T '%%' } }",
|
||||||
"bind -N 'Enter copy mode' [ { copy-mode }",
|
"bind -N 'Enter copy mode' [ { copy-mode }",
|
||||||
"bind -N 'Paste the most recent paste buffer' ] { paste-buffer -p }",
|
"bind -N 'Paste the most recent paste buffer' ] { paste-buffer -p }",
|
||||||
"bind -N 'Create a new window' c { new-window }",
|
"bind -N 'Create a new window' c { new-window }",
|
||||||
|
|||||||
6
tmux.1
6
tmux.1
@@ -1,4 +1,4 @@
|
|||||||
.\" $OpenBSD: tmux.1,v 1.1154 2026/08/05 12:23:25 nicm Exp $
|
.\" $OpenBSD: tmux.1,v 1.1155 2026/08/06 09:05:04 nicm Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
.\"
|
.\"
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
|
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
|
||||||
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
.\"
|
.\"
|
||||||
.Dd $Mdocdate: August 5 2026 $
|
.Dd $Mdocdate: August 6 2026 $
|
||||||
.Dt TMUX 1
|
.Dt TMUX 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -354,6 +354,8 @@ Force redraw of the attached client.
|
|||||||
Select a new session for the attached client interactively.
|
Select a new session for the attached client interactively.
|
||||||
.It t
|
.It t
|
||||||
Show the time.
|
Show the time.
|
||||||
|
.It T
|
||||||
|
Change the current pane title.
|
||||||
.It w
|
.It w
|
||||||
Choose the current window interactively.
|
Choose the current window interactively.
|
||||||
.It x
|
.It x
|
||||||
|
|||||||
Reference in New Issue
Block a user