-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
41 lines (35 loc) · 1.21 KB
/
.tmux.conf
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
35
36
37
38
39
40
41
# screen-style prefix
unbind C-b
set -g prefix C-a
# zero is too far away
set -g base-index 1
# easier to remember splitting
unbind %
bind \ split-window -h
bind - split-window -v
# easier pane navigation
bind -nr C-H select-pane -L
bind -nr C-J select-pane -D
bind -nr C-K select-pane -U
bind -nr C-L select-pane -R
# 256 color support by default
set -g default-terminal "screen-256color"
# mouse support
set -g mode-mouse on
set -g mouse-resize-pane on
setw -g mouse-select-window on
setw -g mouse-select-pane on
# vim powerline style
set -g status-left-length 52
set -g status-right-length 451
set -g status-fg white
set -g status-bg colour234
set -g window-status-activity-attr bold
set -g pane-border-fg colour245
set -g pane-active-border-fg colour39
set -g message-fg colour16
set -g message-bg colour221
set -g message-attr bold
set -g status-left '#[fg=colour235,bg=colour252,bold] #S #[fg=colour252,bg=colour238,nobold]#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour238,bg=colour234,nobold]'
set -g window-status-format "#[fg=white,bg=colour234] #I #W "
set -g window-status-current-format "#[fg=colour234,bg=colour39]#[fg=colour25,bg=colour39,noreverse,bold] #I #W #[fg=colour39,bg=colour234,nobold]"