my dotz
1# Global opts
2setw -g mode-keys vi
3set-option -sg escape-time 0
4set -s escape-time 0
5set-option -g renumber-windows on
6
7# use vim-like keys for splits and windows
8bind-key \\ split-window -h -c "#{pane_current_path}"
9bind-key - split-window -v -c "#{pane_current_path}"
10bind-key h select-pane -L
11bind-key j select-pane -D
12bind-key k select-pane -U
13bind-key l select-pane -R
14
15# shortcuts
16bind-key r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."
17
18# colors hurt my eyes
19set -g status-bg black
20set -g status-fg white