- Document the -p and -l options in split-window.

- Update {copy,scroll}-mode with the -u option.
- While there sort options alphabetically.
This commit is contained in:
Tiago Cunha 2009-02-01 18:24:25 +00:00
parent c7ffee6b8c
commit dd4e160d71
2 changed files with 40 additions and 27 deletions

2
TODO
View File

@ -87,9 +87,7 @@
(hopefully) for 0.7, in no particular order: (hopefully) for 0.7, in no particular order:
- key to switch to copy mode from scroll mode - key to switch to copy mode from scroll mode
- attach should have a flag to create session if it doesn't exist - attach should have a flag to create session if it doesn't exist
- document -u flag to scroll-mode/copy-mode
- document suspend-client - document suspend-client
- document command sequences - document command sequences
- document find-window - document find-window
- document split-window -p and -l
- document window-status-{fg, bg, attr} - document window-status-{fg, bg, attr}

65
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.73 2009-02-01 18:11:40 nicm Exp $ .\" $Id: tmux.1,v 1.74 2009-02-01 18:24:25 tcunha Exp $
.\" .\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\" .\"
@ -398,8 +398,11 @@ is specified, it is used as the command; any %% in the template will be
replaced by what is entered at the prompt. replaced by what is entered at the prompt.
.It Xo Ic copy-mode .It Xo Ic copy-mode
.Op Fl t Ar target-window .Op Fl t Ar target-window
.Op Fl u
.Xc .Xc
Enter copy mode. Enter copy mode. The
.Fl u
option scrolls one page up.
.It Xo Ic delete-buffer .It Xo Ic delete-buffer
.Op Fl b Ar buffer-index .Op Fl b Ar buffer-index
.Op Fl t Ar target-session .Op Fl t Ar target-session
@ -662,8 +665,13 @@ The
option appends to rather than overwriting the file. option appends to rather than overwriting the file.
.It Xo Ic scroll-mode .It Xo Ic scroll-mode
.Op Fl t Ar target-window .Op Fl t Ar target-window
.Op Fl u
.Xc .Xc
Enter scroll mode. Enter scroll mode. The
.Fl u
has the same meaning as in the
.Ic copy-mode
command.
.It Xo Ic select-pane .It Xo Ic select-pane
.Op Fl p Ar pane-index .Op Fl p Ar pane-index
.Op Fl t Ar target-window .Op Fl t Ar target-window
@ -774,22 +782,6 @@ seconds of inactivity.
The default is off (set to 0). The default is off (set to 0).
This has no effect as a session option; it must be set as a global option using This has no effect as a session option; it must be set as a global option using
.Fl g . .Fl g .
.It Ic message-bg Ar colour
Set status line message background colour, where
.Ar colour
is one of:
.Ic black ,
.Ic red ,
.Ic green ,
.Ic yellow ,
.Ic blue ,
.Ic magenta ,
.Ic cyan ,
.Ic white
or
.Ic default .
.It Ic message-fg Ar colour
Set status line message foreground colour.
.It Ic message-attr Ar attributes .It Ic message-attr Ar attributes
Set status line message attributes, where Set status line message attributes, where
.Ar attributes .Ar attributes
@ -806,6 +798,22 @@ or a comma-delimited list of one or more of:
.Ic hidden , .Ic hidden ,
or or
.Ic italics . .Ic italics .
.It Ic message-bg Ar colour
Set status line message background colour, where
.Ar colour
is one of:
.Ic black ,
.Ic red ,
.Ic green ,
.Ic yellow ,
.Ic blue ,
.Ic magenta ,
.Ic cyan ,
.Ic white
or
.Ic default .
.It Ic message-fg Ar colour
Set status line message foreground colour.
.It Ic prefix Ar key .It Ic prefix Ar key
Set the current prefix key. Set the current prefix key.
.It Ic repeat-time Ar number .It Ic repeat-time Ar number
@ -834,12 +842,12 @@ variable is set.
.Op Ic on | Ic off .Op Ic on | Ic off
.Xc .Xc
Show or hide the status line. Show or hide the status line.
.It Ic status-attr Ar attributes
Set status line attributes.
.It Ic status-bg Ar colour .It Ic status-bg Ar colour
Set status line background colour. Set status line background colour.
.It Ic status-fg Ar colour .It Ic status-fg Ar colour
Set status line foreground colour. Set status line foreground colour.
.It Ic status-attr Ar attributes
Set status line attributes.
.It Ic status-interval Ar interval .It Ic status-interval Ar interval
Update the status bar every Update the status bar every
.Ar interval .Ar interval
@ -946,12 +954,12 @@ from resizing a window to greater than
or or
.Ar height . .Ar height .
A value of zero restores the default unlimited setting. A value of zero restores the default unlimited setting.
.It Ic mode-attr Ar attributes
Set window modes attributes.
.It Ic mode-bg Ar colour .It Ic mode-bg Ar colour
Set window modes background colour. Set window modes background colour.
.It Ic mode-fg Ar colour .It Ic mode-fg Ar colour
Set window modes foreground colour. Set window modes foreground colour.
.It Ic mode-attr Ar attributes
Set window modes attributes.
.It Xo Ic mode-keys .It Xo Ic mode-keys
.Op Ic vi | Ic emacs .Op Ic vi | Ic emacs
.Xc .Xc
@ -1020,12 +1028,19 @@ Execute commands from
.Ar path . .Ar path .
.It Xo Ic split-window .It Xo Ic split-window
.Op Fl d .Op Fl d
.Oo
.Fl l Ar lines | Fl p Ar percentage
.Oc
.Op Fl t Ar target-window .Op Fl t Ar target-window
.Op Ar command .Op Ar command
.Xc .Xc
.D1 (alias: splitw ) .D1 (alias: splitw )
Creates a new window by splitting it vertically. All options have the same Creates a new window by splitting it vertically. The
meaning as in the .Fl l
and
.Fl p
options specify the size of the new window in lines, or as a percentage,
respectively. All other options have the same meaning as in the
.Ic new-window .Ic new-window
command. command.
.Pp .Pp