mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	More accurate vi(1) word navigation in copy mode and on the status line.
This changes the meaning of the word-separators option - setting it to the empty string is equivalent to the previous behavior. From Will Noble in GitHub issue 2693.
This commit is contained in:
		
							
								
								
									
										16
									
								
								tmux.1
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								tmux.1
									
									
									
									
									
								
							@@ -1782,19 +1782,18 @@ commands) or when the cursor reaches the bottom (for scrolling commands).
 | 
			
		||||
.Ql -no-clear
 | 
			
		||||
variants do not clear the selection.
 | 
			
		||||
.Pp
 | 
			
		||||
The next and previous word keys use space and the
 | 
			
		||||
.Ql - ,
 | 
			
		||||
.Ql _
 | 
			
		||||
and
 | 
			
		||||
.Ql @
 | 
			
		||||
characters as word delimiters by default, but this can be adjusted by
 | 
			
		||||
setting the
 | 
			
		||||
The next and previous word keys skip over whitespace and treat consecutive
 | 
			
		||||
runs of either word separators or other letters as words.
 | 
			
		||||
Word separators can be customized with the
 | 
			
		||||
.Em word-separators
 | 
			
		||||
session option.
 | 
			
		||||
Next word moves to the start of the next word, next word end to the end of the
 | 
			
		||||
next word and previous word to the start of the previous word.
 | 
			
		||||
The three next and previous space keys work similarly but use a space alone as
 | 
			
		||||
the word separator.
 | 
			
		||||
Setting
 | 
			
		||||
.Em word-separators
 | 
			
		||||
to the empty string makes next/previous word equivalent to next/previous space.
 | 
			
		||||
.Pp
 | 
			
		||||
The jump commands enable quick movement within a line.
 | 
			
		||||
For instance, typing
 | 
			
		||||
@@ -3974,9 +3973,6 @@ If set to both, a bell and a message are produced.
 | 
			
		||||
Sets the session's conception of what characters are considered word
 | 
			
		||||
separators, for the purposes of the next and previous word commands in
 | 
			
		||||
copy mode.
 | 
			
		||||
The default is
 | 
			
		||||
.Ql \ -_@ .
 | 
			
		||||
.El
 | 
			
		||||
.Pp
 | 
			
		||||
Available window options are:
 | 
			
		||||
.Pp
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user