aboutsummaryrefslogtreecommitdiff
path: root/tmux.conf
blob: 22bd2b5ef9e52dfed11d2830d62488171cec6631 (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
31
32
33
34
# Set window titles
set-window-option -g automatic-rename on
set-option -g set-titles on

# Leader key
set -g prefix M-x

# Send Ctrl+a to applications by pressing it twice
bind M-x send-prefix

# Start windows number @1 Instead of @0
set -g base-index 1
set-window-option -g pane-base-index 1

# Renumber windows when closing
set -g renumber-windows on

# Statusbar: purple bg and white fg.
set -g status-bg '#480b8e'
set -g status-fg '#ffffff'
set -g window-status-current-format "#[fg=#ffffff]#[bg=#111111]#[fg=#ffffff]#[bg=#111111] #I:#W #[fg=#ffffff]#[bg=#111111]"
set -g pane-active-border fg=#777777
set -g pane-border-style fg=#222222

# Other settings
set-option -sg escape-time 10
set-option -g mouse off

# Removes the double pressing. Fixes switching panes and pressing up right
# after switching panes. Must have!
bind-key Up    select-pane -U
bind-key Down  select-pane -D
bind-key Left  select-pane -L
bind-key Right select-pane -R