From ff8dd150e0c59b37d9a4942e499a2a025820db8d Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 16 May 2020 16:10:28 +0000 Subject: 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. --- tmux.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tmux.1') 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 " Ta "T" Ta "" .It Li "jump-to-forward " 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 -- cgit