summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2022-09-28 07:59:50 +0000
committernicm <nicm>2022-09-28 07:59:50 +0000
commita10452be2d84d4ff1b9d4e636627b7a9c5a2c42a (patch)
tree790c7fc22aec2069c619035ac18cf7c15bdbd3a2 /tmux.1
parent9cc8e40aa08ff91bc1c5d0211c1d2cef02f2c7a2 (diff)
Add scroll-top and scroll-bottom commands to scroll so cursor is at top
or bottom. From Anindya Mukherjee, GitHub issue 3334.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.111
1 files changed, 9 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 485b5d3a..5e896902 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1808,7 +1808,9 @@ The following commands are supported in copy mode:
.It Li "search-forward <for>" Ta "/" Ta ""
.It Li "search-forward-incremental <for>" Ta "" Ta "C-s"
.It Li "search-forward-text <for>" Ta "" Ta ""
+.It Li "scroll-bottom" Ta "" Ta ""
.It Li "scroll-middle" Ta "z" Ta ""
+.It Li "scroll-top" Ta "" Ta ""
.It Li "search-reverse" Ta "N" Ta "N"
.It Li "select-line" Ta "V" Ta ""
.It Li "select-word" Ta "" Ta ""
@@ -2011,7 +2013,7 @@ but a different format may be specified with
.Fl F .
.Tg capturep
.It Xo Ic capture-pane
-.Op Fl aepPqCJN
+.Op Fl aAepPqCJN
.Op Fl b Ar buffer-name
.Op Fl E Ar end-line
.Op Fl S Ar start-line
@@ -2036,10 +2038,15 @@ is given, the output includes escape sequences for text and background
attributes.
.Fl C
also escapes non-printable characters as octal \exxx.
+.Fl T
+ignores trailing positions that do not contain a character.
.Fl N
preserves trailing spaces at each line's end and
.Fl J
-preserves trailing spaces and joins any wrapped lines.
+preserves trailing spaces and joins any wrapped lines;
+.Fl J
+implies
+.Fl T .
.Fl P
captures only any output that the pane has received that is the beginning of an
as-yet incomplete escape sequence.