]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - tmux.conf
tmux.conf: Add status line settings.
[config/dotfiles.git] / tmux.conf
1 # Tmux configuration file.
2
3
4 # STATUS LINE
5
6 # White text.
7 set-option -g status-fg white
8 # Bright blue background color (colour12).
9 set-option -g status-bg colour12
10
11 # Nothing left of window list.
12 set-option -g status-left ""
13 # Current load average and hostname on the right.
14 set-option -g status-right "#(uptime | cut -d: -f5- | tr -d ,) #H"
15
16
17 # BINDINGS
18
19 # Use Vi(m) key bindings.
20 set-option        -g status-keys vi
21 set-window-option -g mode-keys vi
22
23 # Use Ctrl-A as escape binding, like in GNU screen.
24 set-option -g prefix C-a
25 # Ctrl-A a sends Ctrl-A to the process, like in GNU screen.
26 bind-key a send-prefix
27 unbind-key C-b
28
29 # GNU screen like bindings (with C-x).
30 bind-key C-c new-window
31 bind-key C-a last-window
32 # Switch to next/previos window, like in GNU screen.
33 bind-key C-n next-window
34 bind-key C-p previous-window
35 bind-key C-[ copy-mode
36 bind-key C-] paste-buffer
37
38 # vim: ft=tmux