summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-05-19 22:28:14 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-05-19 22:28:14 +0000
commit0ed727a0128dd84ae727a337208a31df8f3cff02 (patch)
tree3a232b42c0a48b65a193fb0a262e48b4da9f14b0 /tmux.1
parentd91127958d2936fdae28d695d85c15d2bca0d9cf (diff)
Enhance paste-buffer to allow lines to be separated by any string, from
Andrea Barisani.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.110
1 files changed, 7 insertions, 3 deletions
diff --git a/tmux.1 b/tmux.1
index 132a58ea..8d123b25 100644
--- a/tmux.1
+++ b/tmux.1
@@ -2387,6 +2387,7 @@ Load the contents of the specified paste buffer from
.It Xo Ic paste-buffer
.Op Fl dr
.Op Fl b Ar buffer-index
+.Op Fl s Ar separator
.Op Fl t Ar target-pane
.Xc
.D1 (alias: Ic pasteb )
@@ -2396,10 +2397,13 @@ With
.Fl d ,
also delete the paste buffer from the stack.
When output, any linefeed (LF) characters in the paste buffer are replaced with
-carriage returns (CR).
-This translation may be disabled with the
-.Fl r
+a separator, by default carriage return (CR).
+A custom separator may be specified using the
+.Fl s
flag.
+The
+.Fl r
+flag means to do no replacement (equivalent to a separator of LF).
.It Xo Ic save-buffer
.Op Fl a
.Op Fl b Ar buffer-index