From ac9daf92d72210570dc9cb63fd0058e4ff50b7a5 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 6 Apr 2010 21:35:44 +0000 Subject: Merge copy mode and output mode, dropping the latter. Idea and code from Micah Cowan. --- tmux.1 | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index af50c729..f4af706b 100644 --- a/tmux.1 +++ b/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 ) -- cgit