From 5aba26f2cb7aa9609a3c3d2bd38a3942b6a378b8 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 17 Apr 2020 08:03:22 +0000 Subject: Add a copy-command option and change copy-pipe and friends to pipe to it if used without arguments, allows all copy key bindings to be changed to pipe with one option. --- tmux.1 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index fd022c9e..28c8c9c3 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1483,9 +1483,9 @@ The following commands are supported in copy mode: .It Li "clear-selection" Ta "Escape" Ta "C-g" .It Li "copy-end-of-line []" Ta "D" Ta "C-k" .It Li "copy-line []" Ta "" Ta "" -.It Li "copy-pipe []" Ta "" Ta "" -.It Li "copy-pipe-no-clear []" Ta "" Ta "" -.It Li "copy-pipe-and-cancel []" Ta "" Ta "" +.It Li "copy-pipe [] []" Ta "" Ta "" +.It Li "copy-pipe-no-clear [] []" Ta "" Ta "" +.It Li "copy-pipe-and-cancel [] []" Ta "" Ta "" .It Li "copy-selection []" Ta "" Ta "" .It Li "copy-selection-no-clear []" Ta "" Ta "" .It Li "copy-selection-and-cancel []" Ta "Enter" Ta "M-w" @@ -3090,6 +3090,10 @@ be set to .Ql screen , .Ql tmux or a derivative of them. +.It Ic copy-command Ar shell-command +Give the command to pipe to if the +.Ic copy-pipe +copy mode command is used without arguments. .It Ic escape-time Ar time Set the time in milliseconds for which .Nm -- cgit