diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-06-23 22:13:11 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-06-23 22:13:11 +0000 |
commit | 6d2830a473f8b710fca841f763b461b388630e14 (patch) | |
tree | df982d73d6f04cdd9520fe467a61290e13b82bcc | |
parent | 69f3c24647b2e8c2558a5dc1b4abd82f9e75bf91 (diff) | |
download | rtmux-6d2830a473f8b710fca841f763b461b388630e14.tar.gz rtmux-6d2830a473f8b710fca841f763b461b388630e14.tar.bz2 rtmux-6d2830a473f8b710fca841f763b461b388630e14.zip |
Add some common config file examples to the quick start section.
-rw-r--r-- | tmux.1 | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -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 |