2 # ████████ ███ ███ ██ ██ ██ ██
3 # ██ ████ ████ ██ ██ ██ ██
4 # ██ ██ ████ ██ ██ ██ ███
5 # ██ ██ ██ ██ ██ ██ ██ ██
6 # ██ ██ ██ ██████ ██ ██
10 # Turn off esc-wait so that vi works correctly.
11 set-option -sg escape-time 0
13 # Use control-K as the prefix.
18 # Use vi keys everywhere.
19 set-window-option -g mode-keys vi
20 set-option -g status-keys vi
23 set-option -g history-limit 100000
25 # Scary global settings.
26 # The UTF8 stuff doesn't seem to be recognized any more?
27 set-window-option -g xterm-keys on
28 #set-window-option -g utf8 on
29 #set-option -g status-utf8 on
30 #set-window-option -g mode-mouse off # disable mouse
31 #set -g mouse-select-pane off
32 set -g default-terminal "screen-256color"
33 set -as terminal-overrides ",*:Tc"
34 set -g visual-bell off
37 set-window-option -g window-status-current-style "fg=black bg=cyan"
38 set-option -g status-bg blue
39 set-option -g status-fg white
40 set-option -g status-interval 10
41 set-option -g visual-activity off
42 set-window-option -g monitor-activity off
44 # Require the prefix before each command for moving around.
45 set-option -g repeat-time 0
47 # Enter copy-mode with ctrl-i
48 bind-key C-i copy-mode
50 # Moving between panes and windows with the F-keys.
52 #bind-key -n F6 select-pane -t :.+
53 #bind-key -n F7 select-pane -t :.-
56 # Moving between panes and windows with vim movement.
57 bind -r C-h select-window -t :-
58 bind -r C-l select-window -t :+
59 bind -r C-j select-pane -t :.+
60 bind -r C-k select-pane -t :.-
62 # Moving between panes with vim movement.
63 # This is kind of redundant with the above but maybe it's still useful.
69 # Resizing panes with the vim movement keys.
70 bind -r H resize-pane -L 2
71 bind -r J resize-pane -D 2
72 bind -r K resize-pane -U 2
73 bind -r L resize-pane -R 2