aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2017-11-16 11:16:15 +0000
committernicm <nicm>2017-11-16 11:16:15 +0000
commite5ae9dd53dbb82c9a8c5e186723fdbe4e54b0b56 (patch)
tree61a1f1cfb36d69dc7ca8529462997c64ce58b53f /tmux.1
parent3b649d2fcdc8a15c69efbce69ae9e559481d36cb (diff)
downloadrtmux-e5ae9dd53dbb82c9a8c5e186723fdbe4e54b0b56.tar.gz
rtmux-e5ae9dd53dbb82c9a8c5e186723fdbe4e54b0b56.tar.bz2
rtmux-e5ae9dd53dbb82c9a8c5e186723fdbe4e54b0b56.zip
Add -and-cancel variants for scrolling commands to exit copy mode when
the bottom is reached, from Stephen Hicks.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 10 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 4451283f..c0ed0e30 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1122,9 +1122,10 @@ The following commands are supported in copy mode:
.It Li "end-of-line" Ta "$" Ta "C-e"
.It Li "goto-line <line>" Ta ":" Ta "g"
.It Li "halfpage-down" Ta "C-d" Ta "M-Down"
+.It Li "halfpage-down-and-cancel" Ta "" Ta ""
.It Li "halfpage-up" Ta "C-u" Ta "M-Up"
-.It Li "history-bottom" Ta "G" Ta "M-<"
-.It Li "history-top" Ta "g" Ta "M->"
+.It Li "history-bottom" Ta "G" Ta "M->"
+.It Li "history-top" Ta "g" Ta "M-<"
.It Li "jump-again" Ta ";" Ta ";"
.It Li "jump-backward <to>" Ta "F" Ta "F"
.It Li "jump-forward <to>" Ta "f" Ta "f"
@@ -1139,12 +1140,14 @@ The following commands are supported in copy mode:
.It Li "next-word-end" Ta "e" Ta "M-f"
.It Li "other-end" Ta "o" Ta ""
.It Li "page-down" Ta "C-f" Ta "PageDown"
+.It Li "page-down-and-cancel" Ta "" Ta ""
.It Li "page-up" Ta "C-b" Ta "PageUp"
.It Li "previous-paragraph" Ta "{" Ta "M-{"
.It Li "previous-space" Ta "B" Ta ""
.It Li "previous-word" Ta "b" Ta "M-b"
.It Li "rectangle-toggle" Ta "v" Ta "R"
.It Li "scroll-down" Ta "C-e" Ta "C-Down"
+.It Li "scroll-down-and-cancel" Ta "" Ta ""
.It Li "scroll-up" Ta "C-y" Ta "C-Up"
.It Li "search-again" Ta "n" Ta "n"
.It Li "search-backward <for>" Ta "?" Ta ""
@@ -1158,6 +1161,11 @@ The following commands are supported in copy mode:
.It Li "top-line" Ta "H" Ta "M-R"
.El
.Pp
+The
+.Ql -and-cancel
+variants of some commands exit copy mode after they have completed (for copy
+commands) or when the cursor reaches the bottom (for scrolling commands).
+.Pp
The next and previous word keys use space and the
.Ql - ,
.Ql _