mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Extend the -t:+ and -t:- window targets for next and previous window to
accept an offset such as -t:+2. From Tiago Cunha.
This commit is contained in:
		
							
								
								
									
										12
									
								
								tmux.1
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								tmux.1
									
									
									
									
									
								
							@@ -428,6 +428,18 @@ One of the strings
 | 
			
		||||
.Em bottom-right
 | 
			
		||||
may be used instead of a pane index.
 | 
			
		||||
.Pp
 | 
			
		||||
The special characters
 | 
			
		||||
.Ql +
 | 
			
		||||
and
 | 
			
		||||
.Ql -
 | 
			
		||||
may be followed by an offset, for example:
 | 
			
		||||
.Bd -literal -offset indent
 | 
			
		||||
select-window -t:+2
 | 
			
		||||
.Ed
 | 
			
		||||
.Pp
 | 
			
		||||
When dealing with a session that doesn't contain sequential window indexes,
 | 
			
		||||
they will be correctly skipped.
 | 
			
		||||
.Pp
 | 
			
		||||
.Ar shell-command
 | 
			
		||||
arguments are
 | 
			
		||||
.Xr sh 1
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user