-
Notifications
You must be signed in to change notification settings - Fork 1
/
.tmux.conf
38 lines (31 loc) · 914 Bytes
/
.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
#My Tmux config
#I like ^s for my prefix key
unbind C-b
set -g prefix C-s
# Make scrolling work
set -g mouse on
set -g mouse-utf8 on
# Fix nvim in tmux
set -s escape-time 0
#Statusbar
set-option -g status-right 'CPU:#{cpu_percentage} | #{mem} | %Y-%m-%d %H:%M #H'
set-option -g status-right-length 75
set-option -g status-justify left
set-option -g status-left "#S"
set-option -g status-left-length 15
set-option -g status-bg colour235
set-option -g status-fg colour136
set-option -g status-attr default
#less confusing splits
unbind %
bind-key h split-window -v -c "#{pane_current_path}"
unbind '"'
bind-key v split-window -h -c "#{pane_current_path}"
unbind c
bind c new-window -c "#{pane_current_path}"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'knakayama/tmux-mem'
run '~/.tmux/plugins/tpm/tpm'