aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmux.137
1 files changed, 37 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index c7a70240..88e4f7b2 100644
--- a/tmux.1
+++ b/tmux.1
@@ -189,6 +189,43 @@ lists the current key bindings in the current window; up and down may be used
to navigate the list or
.Ql q
to exit from it.
+.Pp
+Commands to be run when the
+.Nm
+server is started may be placed in the
+.Pa ~/.tmux.conf
+configuration file.
+Common examples include:
+.Bl -ohang -width Ds
+.It Changing the default prefix key:
+.Bd -literal -offset indent
+set-option -g prefix C-a
+unbind-key C-b
+bind-key C-a send-prefix
+.Ed
+.Pp
+.It Xo
+Turning the status line off, or changing its colour:
+.Xc
+.Bd -literal -offset indent
+set-option -g status off
+set-option -g status-bg blue
+.Ed
+.Pp
+.It Xo
+Setting other options, such as the default command, or locking after 30 minutes
+of inactivity:
+.Xc
+.Bd -literal -offset indent
+set-option -g default-command "exec /bin/ksh"
+set-option -g lock-after-time 1800
+.Ed
+.It Creating new key bindings:
+.Bd -literal -offset indent
+bind-key b set-option status
+bind-key / command-prompt "split-window 'exec man %%'"
+.Ed
+.El
.Sh KEY BINDINGS
.Nm
may be controlled from an attached client by using a key combination of a