mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Now that parsing is common, merge some of the small, related commands
together to use the same code. Also add some arguments (such as -n and -p) to some commands to match existing commands.
This commit is contained in:
		
							
								
								
									
										30
									
								
								tmux.1
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								tmux.1
									
									
									
									
									
								
							@@ -1255,6 +1255,7 @@ lower) with
 | 
			
		||||
.Fl U
 | 
			
		||||
or downward (numerically higher).
 | 
			
		||||
.It Xo Ic select-layout
 | 
			
		||||
.Op Fl np
 | 
			
		||||
.Op Fl t Ar target-window
 | 
			
		||||
.Op Ar layout-name
 | 
			
		||||
.Xc
 | 
			
		||||
@@ -1263,8 +1264,16 @@ Choose a specific layout for a window.
 | 
			
		||||
If
 | 
			
		||||
.Ar layout-name
 | 
			
		||||
is not given, the last preset layout used (if any) is reapplied.
 | 
			
		||||
.Fl n
 | 
			
		||||
and
 | 
			
		||||
.Fl p
 | 
			
		||||
are equivalent to the
 | 
			
		||||
.Ic next-layout
 | 
			
		||||
and
 | 
			
		||||
.Ic previous-layout
 | 
			
		||||
commands.
 | 
			
		||||
.It Xo Ic select-pane
 | 
			
		||||
.Op Fl DLRU
 | 
			
		||||
.Op Fl lDLRU
 | 
			
		||||
.Op Fl t Ar target-pane
 | 
			
		||||
.Xc
 | 
			
		||||
.D1 (alias: Ic selectp )
 | 
			
		||||
@@ -1280,10 +1289,27 @@ or
 | 
			
		||||
.Fl U
 | 
			
		||||
is used, respectively the pane below, to the left, to the right, or above the
 | 
			
		||||
target pane is used.
 | 
			
		||||
.It Ic select-window Op Fl t Ar target-window
 | 
			
		||||
.Fl l
 | 
			
		||||
is the same as using the
 | 
			
		||||
.Ic last-pane
 | 
			
		||||
command.
 | 
			
		||||
.It Xo Ic select-window
 | 
			
		||||
.Op Fl lnp
 | 
			
		||||
.Op Fl t Ar target-window
 | 
			
		||||
.Xc
 | 
			
		||||
.D1 (alias: Ic selectw )
 | 
			
		||||
Select the window at
 | 
			
		||||
.Ar target-window .
 | 
			
		||||
.Fl l ,
 | 
			
		||||
.Fl n
 | 
			
		||||
and
 | 
			
		||||
.Fl p
 | 
			
		||||
are equivalent to the
 | 
			
		||||
.Ic last-window ,
 | 
			
		||||
.Ic next-window
 | 
			
		||||
and
 | 
			
		||||
.Ic previous-window
 | 
			
		||||
commands.
 | 
			
		||||
.It Xo Ic split-window
 | 
			
		||||
.Op Fl dhvP
 | 
			
		||||
.Oo Fl l
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user