From ceed5cc9a936840a4e40718e0e30f44e71534c5a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 5 Jun 2010 16:34:30 +0000 Subject: Support the status_replace # replacement sequences in the pipe-pane command, thanks to Andrea Barisani. --- tmux.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 94e60758..43ea6e06 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1124,6 +1124,11 @@ A pane may only be piped to one command at a time, any existing pipe is closed before .Ar shell-command is executed. +The +.Ar shell-command +string may contain the special character sequences supported by the +.Ic status-left +command. If no .Ar shell-command is given, the current pipe (if any) is closed. @@ -1133,7 +1138,7 @@ The option only opens a new pipe if no previous pipe exists, allowing a pipe to be toggled with a single key, for example: .Bd -literal -offset indent -bind-key C-p pipe-pane -o 'cat >>~/output' +bind-key C-p pipe-pane -o 'cat >>~/output.#I-#P' .Ed .It Xo Ic previous-window .Op Fl a -- cgit