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