mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Merge copy mode and output mode, dropping the latter. Idea and code from
Micah Cowan.
This commit is contained in:
		
							
								
								
									
										26
									
								
								tmux.1
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								tmux.1
									
									
									
									
									
								
							@@ -586,14 +586,8 @@ A
 | 
			
		||||
.Nm
 | 
			
		||||
window may be in one of several modes.
 | 
			
		||||
The default permits direct access to the terminal attached to the window.
 | 
			
		||||
The others are:
 | 
			
		||||
.Bl -tag -width Ds
 | 
			
		||||
.It Em output mode
 | 
			
		||||
This is entered when a command which produces output, such as
 | 
			
		||||
.Ic list-keys ,
 | 
			
		||||
is executed from a key binding.
 | 
			
		||||
.It Em copy mode
 | 
			
		||||
This permits a section of a window or its history to be copied to a
 | 
			
		||||
The other is copy mode, which permits a section of a window or its
 | 
			
		||||
history to be copied to a
 | 
			
		||||
.Em paste buffer
 | 
			
		||||
for later insertion into another window.
 | 
			
		||||
This mode is entered with the
 | 
			
		||||
@@ -601,7 +595,9 @@ This mode is entered with the
 | 
			
		||||
command, bound to
 | 
			
		||||
.Ql \&[
 | 
			
		||||
by default.
 | 
			
		||||
.El
 | 
			
		||||
It is also entered when a command that produces output, such as
 | 
			
		||||
.Ic list-keys ,
 | 
			
		||||
is executed from a key binding.
 | 
			
		||||
.Pp
 | 
			
		||||
The keys available depend on whether emacs or vi mode is selected
 | 
			
		||||
(see the
 | 
			
		||||
@@ -699,7 +695,7 @@ and
 | 
			
		||||
.Em emacs-choice
 | 
			
		||||
for keys used when choosing from lists (such as produced by the
 | 
			
		||||
.Ic choose-window
 | 
			
		||||
command) or in output mode; and
 | 
			
		||||
command); and
 | 
			
		||||
.Em vi-copy
 | 
			
		||||
and
 | 
			
		||||
.Em emacs-copy
 | 
			
		||||
@@ -714,7 +710,9 @@ and
 | 
			
		||||
The paste buffer key pastes the first line from the top paste buffer on the
 | 
			
		||||
stack.
 | 
			
		||||
.Pp
 | 
			
		||||
The mode commands are as follows:
 | 
			
		||||
The synopsis for the
 | 
			
		||||
.Ic copy-mode
 | 
			
		||||
command is:
 | 
			
		||||
.Bl -tag -width Ds
 | 
			
		||||
.It Xo Ic copy-mode
 | 
			
		||||
.Op Fl u
 | 
			
		||||
@@ -2032,8 +2030,8 @@ command.
 | 
			
		||||
.It Xo Ic synchronize-panes
 | 
			
		||||
.Op Ic on | off
 | 
			
		||||
.Xc
 | 
			
		||||
Duplicate input to any pane to all other panes in the same window, except
 | 
			
		||||
for panes that are not in output mode.
 | 
			
		||||
Duplicate input to any pane to all other panes in the same window (only
 | 
			
		||||
for panes that are not in any special mode).
 | 
			
		||||
.Pp
 | 
			
		||||
.It Xo Ic alternate-screen
 | 
			
		||||
.Op Ic on | off
 | 
			
		||||
@@ -2443,7 +2441,7 @@ option.
 | 
			
		||||
Execute
 | 
			
		||||
.Ar shell-command
 | 
			
		||||
in the background without creating a window.
 | 
			
		||||
After it finishes, any output to stdout is displayed in output mode.
 | 
			
		||||
After it finishes, any output to stdout is displayed in copy mode.
 | 
			
		||||
If the command doesn't return success, the exit status is also displayed.
 | 
			
		||||
.It Ic server-info
 | 
			
		||||
.D1 (alias: Ic info )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user