-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtmux.conf
45 lines (36 loc) · 1.12 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
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
bind C-Space last-window
# Start window numbers from 1
set -g base-index 1
# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green]#H '
set -g status-right '#[fg=yellow]#(uptime | cut -d "," -f 3-) #(sensors | grep Core | cut -d" " -f 9 | tr "\n" " ")'
set -g status-right-length 50
set-window-option -g window-status-current-bg green
set-window-option -g window-status-current-fg black
#visual bell highlights
set -g bell-action any
set -g visual-bell on
# Default to mouse-mode stuff
set -g mouse on
# Toggle mouse on with ^B m
bind m \
set -g mouse on \;\
display 'Mouse: ON'
# Toggle mouse off with ^B M
bind M \
set -g mouse off \;\
display 'Mouse: OFF'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-yank'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'