aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2015-09-13 13:31:40 +0000
committernicm <nicm>2015-09-13 13:31:40 +0000
commit901c2eb20a7066b743c9c6cdde0766737f7c079f (patch)
treea8b9f9b8ed0dcb1e4edeb1c18ddfd5300a8ccccd /tmux.1
parentede0f2f633c2a0c2718004f0527bd5832041e966 (diff)
downloadrtmux-901c2eb20a7066b743c9c6cdde0766737f7c079f.tar.gz
rtmux-901c2eb20a7066b743c9c6cdde0766737f7c079f.tar.bz2
rtmux-901c2eb20a7066b743c9c6cdde0766737f7c079f.zip
Add copy-mode -e to exit copy mode when scrolling off the bottom, useful
for quick view of history, from Cam Hutchison.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 11 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index a2f6cb96..43dce715 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1133,7 +1133,7 @@ The synopsis for the
command is:
.Bl -tag -width Ds
.It Xo Ic copy-mode
-.Op Fl Mu
+.Op Fl Meu
.Op Fl t Ar target-pane
.Xc
Enter copy mode.
@@ -1143,6 +1143,16 @@ option scrolls one page up.
.Fl M
begins a mouse drag (only valid if bound to a mouse key binding, see
.Sx MOUSE SUPPORT ) .
+.Fl e
+specifies that scrolling to the bottom of the history (to the visible screen)
+should exit copy mode.
+While in copy mode, pressing a key other than those used for scrolling will
+disable this behaviour.
+This is intended to allow fast scrolling through a pane's history, for
+example with:
+.Bd -literal -offset indent
+bind PageUp copy-mode -eu
+.Ed
.El
.Pp
Each window displayed by