mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
tweak previous;
This commit is contained in:
parent
27cfa81110
commit
7b4077ef87
18
tmux.1
18
tmux.1
@ -196,39 +196,35 @@ to exit from it.
|
|||||||
Commands to be run when the
|
Commands to be run when the
|
||||||
.Nm
|
.Nm
|
||||||
server is started may be placed in the
|
server is started may be placed in the
|
||||||
.Pa ~/.tmux.conf
|
.Pa ~/.tmux.conf
|
||||||
configuration file.
|
configuration file.
|
||||||
Common examples include:
|
Common examples include:
|
||||||
.Bl -ohang -width Ds
|
.Pp
|
||||||
.It Changing the default prefix key:
|
Changing the default prefix key:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
set-option -g prefix C-a
|
set-option -g prefix C-a
|
||||||
unbind-key C-b
|
unbind-key C-b
|
||||||
bind-key C-a send-prefix
|
bind-key C-a send-prefix
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
.It Xo
|
|
||||||
Turning the status line off, or changing its colour:
|
Turning the status line off, or changing its colour:
|
||||||
.Xc
|
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
set-option -g status off
|
set-option -g status off
|
||||||
set-option -g status-bg blue
|
set-option -g status-bg blue
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
.It Xo
|
Setting other options, such as the default command,
|
||||||
Setting other options, such as the default command, or locking after 30 minutes
|
or locking after 30 minutes of inactivity:
|
||||||
of inactivity:
|
|
||||||
.Xc
|
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
set-option -g default-command "exec /bin/ksh"
|
set-option -g default-command "exec /bin/ksh"
|
||||||
set-option -g lock-after-time 1800
|
set-option -g lock-after-time 1800
|
||||||
.Ed
|
.Ed
|
||||||
.It Creating new key bindings:
|
.Pp
|
||||||
|
Creating new key bindings:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
bind-key b set-option status
|
bind-key b set-option status
|
||||||
bind-key / command-prompt "split-window 'exec man %%'"
|
bind-key / command-prompt "split-window 'exec man %%'"
|
||||||
.Ed
|
.Ed
|
||||||
.El
|
|
||||||
.Sh KEY BINDINGS
|
.Sh KEY BINDINGS
|
||||||
.Nm
|
.Nm
|
||||||
may be controlled from an attached client by using a key combination of a
|
may be controlled from an attached client by using a key combination of a
|
||||||
|
Loading…
Reference in New Issue
Block a user