diff options
author | nicm <nicm> | 2019-04-02 09:03:39 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-04-02 09:03:39 +0000 |
commit | 7bcc0d16f24506bed6568ba36bcd278cfc06d069 (patch) | |
tree | 0dcb8ee612b7bb545bc7140b759e172628e9bbe8 /tmux.1 | |
parent | ffa4d489676f40582b63c1791d3bf5d3b75d8421 (diff) | |
download | rtmux-7bcc0d16f24506bed6568ba36bcd278cfc06d069.tar.gz rtmux-7bcc0d16f24506bed6568ba36bcd278cfc06d069.tar.bz2 rtmux-7bcc0d16f24506bed6568ba36bcd278cfc06d069.zip |
Add an argument to copy commands to set the prefix for the buffer name,
allows buffers for different sessions to be named separately.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -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 <command>" Ta "" Ta "" -.It Li "copy-pipe-and-cancel <command>" 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 [<prefix>]" Ta "D" Ta "C-k" +.It Li "copy-line [<prefix>]" Ta "" Ta "" +.It Li "copy-pipe <command> [<prefix>]" Ta "" Ta "" +.It Li "copy-pipe-and-cancel <command> [<prefix>]" Ta "" Ta "" +.It Li "copy-selection [<prefix>]" Ta "" Ta "" +.It Li "copy-selection-and-cancel [<prefix>]" 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 |