aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 16:10:28 +0000
committernicm <nicm>2020-05-16 16:10:28 +0000
commitff8dd150e0c59b37d9a4942e499a2a025820db8d (patch)
tree6bb50aa2be5983d21c8609ee58dacff1bca166fc /tmux.1
parentdceb6a15d04a2b2e050ab41816d0df3fe224b416 (diff)
downloadrtmux-ff8dd150e0c59b37d9a4942e499a2a025820db8d.tar.gz
rtmux-ff8dd150e0c59b37d9a4942e499a2a025820db8d.tar.bz2
rtmux-ff8dd150e0c59b37d9a4942e499a2a025820db8d.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 6c19283e..baa296fb 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