summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2021-02-08 14:46:54 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2021-02-08 14:46:54 +0000
commitd7b01587a06b2e96a1faca53a520f7e1c0db0947 (patch)
treeba18efe61480c4b5f76e4054d2c910ffa526eb26 /usr.bin/tmux/tmux.1
parentaa8513c7418e5a679de2e5b86aef54503ac9aff2 (diff)
Add "pipe" variants of the "copy-pipe" commands which do not copy, from
Christian Zangl.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.111
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 34470b05d79..0303c568144 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.819 2021/02/06 13:02:52 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.820 2021/02/08 14:46:53 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: February 6 2021 $
+.Dd $Mdocdate: February 8 2021 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -1653,6 +1653,9 @@ The following commands are supported in copy mode:
.It Li "page-down" Ta "C-f" Ta "PageDown"
.It Li "page-down-and-cancel" Ta "" Ta ""
.It Li "page-up" Ta "C-b" Ta "PageUp"
+.It Li "pipe [<command>] [<prefix>]" Ta "" Ta ""
+.It Li "pipe-no-clear [<command>] [<prefix>]" Ta "" Ta ""
+.It Li "pipe-and-cancel [<command>] [<prefix>]" Ta "" Ta ""
.It Li "previous-matching-bracket" Ta "" Ta "M-C-b"
.It Li "previous-paragraph" Ta "{" Ta "M-{"
.It Li "previous-space" Ta "B" Ta ""
@@ -1708,7 +1711,9 @@ so buffers are named
.Ql buffer1
and so on).
Pipe commands take a command argument which is the command to which the
-copied text is piped.
+selected text is piped.
+.Ql copy-pipe
+variants also copy the selection.
The
.Ql -and-cancel
variants of some commands exit copy mode after they have completed (for copy