]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - tmux.conf
tmux.conf: Remove unnecessary comment.
[config/dotfiles.git] / tmux.conf
1 # Tmux configuration file.
2
3
4 # GENERAL
5
6 # Use a larger window history, in lines.
7 set-option -g history-limit 10000
8
9
10 # TERMINAL
11
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
16
17 # Set title for outer terminal.
18 set-option -g set-titles on
19
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
23
24
25 # STATUS LINE
26
27 # White text.
28 set-option -g status-fg white
29 # Bright blue background color (colour12).
30 set-option -g status-bg colour12
31
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"
36
37
38 # BINDINGS
39
40 # Use Vi(m) key bindings.
41 set-option        -g status-keys vi
42 set-window-option -g mode-keys vi
43
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
48 unbind-key C-b
49
50 # GNU screen like bindings (with C-x).
51 bind-key C-c new-window
52 bind-key C-a last-window
53 bind-key C-n next-window
54 bind-key C-p previous-window
55 bind-key C-[ copy-mode
56 bind-key C-] paste-buffer
57
58 # vim: ft=tmux