aboutsummaryrefslogtreecommitdiff
path: root/.tmux.conf
blob: 4739600f77e1a4046c4876d874315b6d62ede3ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
set -g default-terminal "screen-256color"
set-window-option -g automatic-rename on
set-window-option -g mode-keys vi
set-option -g set-titles on
set-option -sg escape-time 10
set-option -g mouse off

if-shell "uname | grep -q Linux" {
	set -g prefix M-x
	bind M-x send-prefix
}

if-shell "uname | grep -q Darwin" {
	set -g prefix M-z
	bind M-z send-prefix
}

set -g base-index 1
set-window-option -g pane-base-index 1
set -g renumber-windows on

set -g status-bg '#222222'
set -g status-fg '#ffffff'
set -g window-status-current-format "#[fg=#ffffff]#[bg=#000000]#[fg=#ffffff]#[bg=#000000] #I:#W #[fg=#ffffff]#[bg=#000000]"

bind-key Up    select-pane -U
bind-key Down  select-pane -D
bind-key Left  select-pane -L
bind-key Right select-pane -R