-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
69 lines (50 loc) · 1.52 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
68
69
# utf8 is on
#setw -g utf8 on
#set -g status-utf8 on
#Powerline enable
#source /usr/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf
# address vim mode switching delay (http://superuser.com/a/252717/65504)
set -s escape-time 0
# increase scrollback buffer size
set -g history-limit 50000
# tmux messages are displayed for 4 seconds
set -g display-time 4000
# refresh 'status-left' and 'status-right' more often
set -g status-interval 5
# upgrade $TERM
set -g default-terminal "screen-256color"
# set prefix to C-a
set -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
#automatic rename
setw -g automatic-rename on
#tmux
#set -g clock-mode-colour white
# prefix highlight
set -g @prefix_highlight_fg 'white'
set -g @prefix_highlight_bg 'red'
#Online Status
set -g @online_icon "ok"
set -g @offline_icon "offline!"
##monitor mode for windows
setw -g monitor-activity on
set -g visual-activity on
##statusbar misc
set -g status-interval 5
#set -g status-justify centre
## pane index starting at 1
set-option -g base-index 1
setw -g pane-base-index 1
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-logging'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-online-status'
# Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'
# powerline
source ~/.local/bin/powerline/bindings/tmux/powerline.conf
POWERLINE_CONFIG_COMMAND=powerline-config