1 # Tmux configuration file.
6 # Disable alternative screen feature. This way e.g. Vim's window content stays
7 # visible after quitting Vim. This is quite useful to copy data (needs tmux
8 # 1.5 to work completely).
9 set-window-option -g alternate-screen off
11 # Set title for outer terminal.
12 set-option -g set-titles on
14 # Don't rename windows to the currently running program, my zshrc does this
15 # for me (with some additional features).
16 set-window-option -g automatic-rename off
22 set-option -g status-fg white
23 # Bright blue background color (colour12).
24 set-option -g status-bg colour12
26 # Nothing left of window list.
27 set-option -g status-left ""
28 # Current load average and hostname on the right.
29 set-option -g status-right "#(uptime | cut -d: -f5- | tr -d ,) #H"
34 # Use Vi(m) key bindings.
35 set-option -g status-keys vi
36 set-window-option -g mode-keys vi
38 # Use Ctrl-A as escape binding, like in GNU screen.
39 set-option -g prefix C-a
40 # Ctrl-A a sends Ctrl-A to the process, like in GNU screen.
41 bind-key a send-prefix
44 # GNU screen like bindings (with C-x).
45 bind-key C-c new-window
46 bind-key C-a last-window
47 # Switch to next/previos window, like in GNU screen.
48 bind-key C-n next-window
49 bind-key C-p previous-window
50 bind-key C-[ copy-mode
51 bind-key C-] paste-buffer