version 1.628, 2019/03/19 19:01:50 |
version 1.629, 2019/03/22 09:33:04 |
|
|
.Nm |
.Nm |
command, passed with the command and arguments separately, for example: |
command, passed with the command and arguments separately, for example: |
.Bd -literal -offset indent |
.Bd -literal -offset indent |
bind-key F1 set-window-option force-width 81 |
bind-key F1 set-option status off |
.Ed |
.Ed |
.Pp |
.Pp |
Or if using |
Or if using |
.Xr sh 1 : |
.Xr sh 1 : |
.Bd -literal -offset indent |
.Bd -literal -offset indent |
$ tmux bind-key F1 set-window-option force-width 81 |
$ tmux bind-key F1 set-option status off |
.Ed |
.Ed |
.Pp |
.Pp |
Multiple commands may be specified together as part of a |
Multiple commands may be specified together as part of a |
|
|
.Fl M |
.Fl M |
begins mouse resizing (only valid if bound to a mouse key binding, see |
begins mouse resizing (only valid if bound to a mouse key binding, see |
.Sx MOUSE SUPPORT ) . |
.Sx MOUSE SUPPORT ) . |
|
.It Xo Ic resize-window |
|
.Op Fl aADLRU |
|
.Op Fl t Ar target-window |
|
.Op Fl x Ar width |
|
.Op Fl y Ar height |
|
.Op Ar adjustment |
|
.Xc |
|
.D1 (alias: Ic resizew ) |
|
Resize a window, up, down, left or right by |
|
.Ar adjustment |
|
with |
|
.Fl U , |
|
.Fl D , |
|
.Fl L |
|
or |
|
.Fl R , |
|
or |
|
to an absolute size |
|
with |
|
.Fl x |
|
or |
|
.Fl y . |
|
The |
|
.Ar adjustment |
|
is given in lines or cells (the default is 1). |
|
.Fl A |
|
sets the size of the largest session containing the window; |
|
.Fl a |
|
the size of the smallest. |
|
This command will automatically set |
|
.Ic window-size |
|
to manual in the window options. |
.It Xo Ic respawn-pane |
.It Xo Ic respawn-pane |
.Op Fl c Ar start-directory |
.Op Fl c Ar start-directory |
.Op Fl k |
.Op Fl k |
|
|
This option should be configured when |
This option should be configured when |
.Nm |
.Nm |
is used as a login shell. |
is used as a login shell. |
|
.It Ic default-size Ar XxY |
|
Set the default size of windows when the size is not set or the |
|
.Ic window-size |
|
option is manual. |
.It Xo Ic destroy-unattached |
.It Xo Ic destroy-unattached |
.Op Ic on | off |
.Op Ic on | off |
.Xc |
.Xc |
|
|
.Xc |
.Xc |
Set clock hour format. |
Set clock hour format. |
.Pp |
.Pp |
.It Ic force-height Ar height |
|
.It Ic force-width Ar width |
|
Prevent |
|
.Nm |
|
from resizing a window to greater than |
|
.Ar width |
|
or |
|
.Ar height . |
|
A value of zero restores the default unlimited setting. |
|
.Pp |
|
.It Ic main-pane-height Ar height |
.It Ic main-pane-height Ar height |
.It Ic main-pane-width Ar width |
.It Ic main-pane-width Ar width |
Set the width or height of the main (left or top) pane in the |
Set the width or height of the main (left or top) pane in the |
|
|
see the |
see the |
.Sx STYLES |
.Sx STYLES |
section. |
section. |
|
.Pp |
|
.It Xo Ic window-size |
|
.Op Ic smallest | largest | manual |
|
.Xc |
|
Tell |
|
.Nm |
|
how to automatically size windows either the size of the smallest session |
|
containing the window, the size of the largest, or manual size. |
|
See also the |
|
.Ic resize-window |
|
command and the |
|
.Ic default-size |
|
and |
|
.Ic aggressive-resize |
|
options. |
.Pp |
.Pp |
.It Xo Ic wrap-search |
.It Xo Ic wrap-search |
.Op Ic on | off |
.Op Ic on | off |