From 7bcc0d16f24506bed6568ba36bcd278cfc06d069 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 2 Apr 2019 09:03:39 +0000 Subject: Add an argument to copy commands to set the prefix for the buffer name, allows buffers for different sessions to be named separately. --- tmux.1 | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index e1c28fbb..d2960fb5 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1132,12 +1132,12 @@ The following commands are supported in copy mode: .It Li "bottom-line" Ta "L" Ta "" .It Li "cancel" Ta "q" Ta "Escape" .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-and-cancel " Ta "" Ta "" -.It Li "copy-selection" Ta "" Ta "" -.It Li "copy-selection-and-cancel" Ta "Enter" Ta "M-w" +.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-and-cancel []" Ta "" Ta "" +.It Li "copy-selection []" Ta "" Ta "" +.It Li "copy-selection-and-cancel []" Ta "Enter" Ta "M-w" .It Li "cursor-down" Ta "j" Ta "Down" .It Li "cursor-left" Ta "h" Ta "Left" .It Li "cursor-right" Ta "l" Ta "Right" @@ -1184,6 +1184,15 @@ The following commands are supported in copy mode: .It Li "top-line" Ta "H" Ta "M-R" .El .Pp +Copy commands may take an optional buffer prefix argument which is used +to generate the buffer name (the default is +.Ql buffer +so buffers are named +.Ql buffer0 , +.Ql buffer1 +and so on). +Pipe commands take a command argument which is the command to which the +copied text is piped. The .Ql -and-cancel variants of some commands exit copy mode after they have completed (for copy -- cgit