-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
67 lines (51 loc) · 1.54 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# don't wait after esc
set -s escape-time 0
# change prefix
#set-option -g prefix C-a
#unbind-key C-b
#bind-key C-a send-prefix
# moving between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# mouse support - set to on if you want to use the mouse
#set-option -g mouse on
#bind -n WheelUpPane copy-mode
# Set the default terminal mode to 256color mode
set -g default-terminal "screen-256color"
# enable activity alerts
setw -g monitor-activity on
set -g visual-activity on
# set the status line's colors
set -g status-fg white
set -g status-bg black
# set the color of the window list
setw -g window-status-fg cyan
setw -g window-status-bg default
setw -g window-status-attr dim
# set colors for the active window
setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright
# pane colors
set -g pane-border-fg green
set -g pane-border-bg black
set -g pane-active-border-fg white
set -g pane-active-border-bg yellow
# Command / message line
set -g message-fg white
set -g message-bg black
set -g message-attr bright
# Status line left side
set -g status-left-length 40
set -g status-left "#[fg=green]Session: #S #[fg=yellow]#I #[fg=cyan]#P"
# Center the window list
set -g status-justify centre
# enable vi keys.
setw -g mode-keys vi
# read tmuxline statusline style
if-shell "test -f ~/.tmux.airline.conf" "source ~/.tmux.airline.conf"
# fix ssh agent when tmux is detached
set -g update-environment -r