aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-13 06:29:57 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-13 06:29:57 +0100
commit6214cd07264b393fd751271791870f1e8f251371 (patch)
tree0528f55c80e306ff64b8ee56edf5140878fc46eb /tmux.1
parent9d44df9da95452d985f6e5937dd3c4311bf33548 (diff)
downloadrtmux-6214cd07264b393fd751271791870f1e8f251371.tar.gz
rtmux-6214cd07264b393fd751271791870f1e8f251371.tar.bz2
rtmux-6214cd07264b393fd751271791870f1e8f251371.zip
Add a mark in copy mode. Set with set-mark command (bound to 'X') by default
and the mark and cursor position are swapped with 'jump-to-mark' (bound to M-x). The line containing the mark is shown in copy-mode-mark-style with the horizontal position in reverse. From Anindya Mukherjee in GitHub issue 2209.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.110
1 files changed, 10 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index b6ac248f..66922285 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1555,6 +1555,7 @@ The following commands are supported in copy mode:
.It Li "jump-reverse" Ta "," Ta ","
.It Li "jump-to-backward <to>" Ta "T" Ta ""
.It Li "jump-to-forward <to>" Ta "t" Ta ""
+.It Li "jump-to-mark" Ta "M-x" Ta "M-x"
.It Li "middle-line" Ta "M" Ta "M-r"
.It Li "next-matching-bracket" Ta "%" Ta "M-C-f"
.It Li "next-paragraph" Ta "}" Ta "M-}"
@@ -1585,6 +1586,7 @@ The following commands are supported in copy mode:
.It Li "search-reverse" Ta "N" Ta "N"
.It Li "select-line" Ta "V" Ta ""
.It Li "select-word" Ta "" Ta ""
+.It Li "set-mark" Ta "X" Ta "X"
.It Li "start-of-line" Ta "0" Ta "C-a"
.It Li "stop-selection" Ta "" Ta ""
.It Li "top-line" Ta "H" Ta "M-R"
@@ -3817,6 +3819,14 @@ see the
.Sx STYLES
section.
.Pp
+.It Ic copy-mode-mark-style Ar style
+Set the style of the line containing the mark in copy mode.
+For how to specify
+.Ar style ,
+see the
+.Sx STYLES
+section.
+.Pp
.It Ic copy-mode-current-match-style Ar style
Set the style of the current search match in copy mode.
For how to specify