-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
executable file
·48 lines (37 loc) · 1.1 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
# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
set-option -g status-position bottom
set-option -g repeat-time 0
set-option -g set-titles on
set-option -g set-titles-string "#{session_name}"
# Use vi keys in buffer
set-window-option -g mode-keys vi
# set shell
if-shell -b '[ -f /bin/zsh ]' \
"set -g default-shell /bin/zsh"
# Removes ESC delay
set -sg escape-time 0
set -g mouse on
# List of plugins
set -g @tpm_plugins ' \
MichielVanderlee/maglev \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
tmux-plugins/tmux-resurrect \
tmux-plugins/tmux-continuum \
tmux-plugins/tmux-yank \
tmux-plugins/tmux-pain-control \
tmux-plugins/tmux-copycat \
tmux-plugins/tmux-open \
tmux-plugins/tmux-battery \
tmux-plugins/tmux-cpu \
samoshkin/tmux-plugin-sysstat \
'
set -g @sysstat_mem_view_tmpl '#{mem.pused}'
# key bindings
unbind C-b
set -g prefix ^A
bind a send-prefix
# Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'