summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2010-05-19 22:28:15 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2010-05-19 22:28:15 +0000
commit95952ec49faed304df751391b2d2ee233711e73a (patch)
tree14475d7c568f79dd8845ead5736c6475be510357 /usr.bin/tmux/tmux.1
parente035ce65660857d1518c2b49cf236234d9a3f452 (diff)
Enhance paste-buffer to allow lines to be separated by any string, from
Andrea Barisani.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.114
1 files changed, 9 insertions, 5 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 7dbda049186..30221de4711 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.169 2010/05/14 19:03:09 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.170 2010/05/19 22:28:14 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -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: May 14 2010 $
+.Dd $Mdocdate: May 19 2010 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -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