mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	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.
This commit is contained in:
		
							
								
								
									
										10
									
								
								tmux.1
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user