diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-12 17:11:39 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-12 17:11:39 +0000 |
commit | 27fc963631b5e2ac1064823380e54cc48ad2aad8 (patch) | |
tree | c0227da222dcbbddff3ff1e69dfd0631f3c604c6 /tmux.1 | |
parent | d8de72ca77a6bbe2e8b9244480d700d343a6a656 (diff) | |
download | rtmux-27fc963631b5e2ac1064823380e54cc48ad2aad8.tar.gz rtmux-27fc963631b5e2ac1064823380e54cc48ad2aad8.tar.bz2 rtmux-27fc963631b5e2ac1064823380e54cc48ad2aad8.zip |
When pasting, translate \n into \r. This matches xterm and putty's behaviour,
and makes emacs happy when pasting into some modes. A new -r (raw) flag to
paste-buffer pastes without the translation.
From Kalle Olavi Niemitalo, thanks!
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.110 2009-07-12 17:10:35 nicm Exp $ +.\" $Id: tmux.1,v 1.111 2009-07-12 17:11:39 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -897,6 +897,11 @@ Insert the contents of a paste buffer into the current window. 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 +flag. .It Xo Ic previous-window .Op Fl a .Op Fl t Ar target-session |