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"
37 # Format for windows in the window list in the status line. #I window index,
38 # #W window number, #F window flags.
39 set-window-option -g window-status-format "#I #W#F"
40 set-window-option -g window-status-current-format "#I #W#F"
45 # Use Vi(m) key bindings.
46 set-option -g status-keys vi
47 set-window-option -g mode-keys vi
49 # Use Ctrl-A as escape binding, like in GNU screen.
50 set-option -g prefix C-a
51 # Ctrl-A a sends Ctrl-A to the process, like in GNU screen.
52 bind-key a send-prefix
55 # GNU screen like bindings (with C-x).
56 bind-key C-c new-window
57 bind-key C-a last-window
58 bind-key C-n next-window
59 bind-key C-p previous-window
60 bind-key C-[ copy-mode
61 bind-key C-] paste-buffer