aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-04-10 07:44:26 +0000
committernicm <nicm>2020-04-10 07:44:26 +0000
commitc0602f357d7b48ab830f93b446cb1830c5df7a0f (patch)
tree11b8275c72d23606de28e5104e5d78d0a51fcd0e /tmux.1
parenta1fc8f8b23bf6371877ff93e123b735d2c7d596d (diff)
downloadrtmux-c0602f357d7b48ab830f93b446cb1830c5df7a0f.tar.gz
rtmux-c0602f357d7b48ab830f93b446cb1830c5df7a0f.tar.bz2
rtmux-c0602f357d7b48ab830f93b446cb1830c5df7a0f.zip
Now that copy mode copies the pane content rather than keeping a
reference to it, it isn't necessary that the pane in copy mode is the same as the one copying from. Add a -s flag to copy-mode to specify a different pane for the source content. This means it is possible to view two places in a pane's history at the same time in different panes, or copy from a pane's history into an editor or shell in the same pane. From Anindya Mukherjee.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.16
1 files changed, 6 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index d17c19e9..5098895c 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1608,6 +1608,7 @@ command is:
.Bl -tag -width Ds
.It Xo Ic copy-mode
.Op Fl eHMqu
+.Op Fl s Ar src-pane
.Op Fl t Ar target-pane
.Xc
Enter copy mode.
@@ -1621,6 +1622,11 @@ begins a mouse drag (only valid if bound to a mouse key binding, see
hides the position indicator in the top right.
.Fl q
cancels copy mode and any other modes.
+.Fl s
+copies from
+.Ar src-pane
+instead of
+.Ar target-pane.
.Pp
.Fl e
specifies that scrolling to the bottom of the history (to the visible screen)