Now that pane targets (-t) are supported, switch some commands to use them

where it makes sense: clock-mode, copy-mode, scroll-mode, send-keys,
send-prefix.
This commit is contained in:
Nicholas Marriott
2009-08-18 16:21:04 +00:00
parent dc6271cd79
commit 145ba777e8
6 changed files with 22 additions and 28 deletions

10
tmux.1
View File

@ -528,7 +528,7 @@ The mode commands are as follows:
.Bl -tag -width Ds
.It Xo Ic copy-mode
.Op Fl u
.Op Fl t Ar target-window
.Op Fl t Ar target-pane
.Xc
Enter copy mode.
The
@ -536,7 +536,7 @@ The
option scrolls one page up.
.It Xo Ic scroll-mode
.Op Fl u
.Op Fl t Ar target-window
.Op Fl t Ar target-pane
.Xc
Enter scroll mode.
The
@ -970,7 +970,7 @@ are listed; this may be one of:
or
.Em emacs-copy .
.It Xo Ic send-keys
.Op Fl t Ar target-window
.Op Fl t Ar target-pane
.Ar key Ar ...
.Xc
.D1 (alias: Ic send )
@ -984,7 +984,7 @@ or
) to send; if the string is not recognised as a key, it is sent as a series of
characters.
All arguments are sent sequentially from first to last.
.It Ic send-prefix Op Fl t Ar target-window
.It Ic send-prefix Op Fl t Ar target-pane
Send the prefix key to a window as if it was pressed.
.It Xo Ic unbind-key
.Op Fl cn
@ -1799,7 +1799,7 @@ Display the contents of the specified buffer.
.Pp
Miscellaneous commands are as follows:
.Bl -tag -width Ds
.It Ic clock-mode Op Fl t Ar target-window
.It Ic clock-mode Op Fl t Ar target-pane
Display a large clock.
.It Ic if-shell Ar shell-command command
.D1 (alias: Ic if )