-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
51 lines (39 loc) · 1.29 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
# Enable UTF-8 support
set-option -g status-utf8 on
# Status bar
set-option -g status-justify centre
# Display only the split number on the left
set-option -g status-left ' #h'
set -g status-right "#{battery_percentage} | %a %h %d-%H:%M"
# Display only the name of the window in the status bar
set-option -g window-status-format ' #W '
set-option -g window-status-current-format '#[bg=black,fg=white] #W #[default]'
# Set a crazy big scrollback buffer
set -g history-limit 10000
# Listen for activity on all windows
set -g bell-action any
# Add mouse support
setw -g mode-mouse on
setw -g monitor-activity on
# Easily reload configuration
bind r source-file ~/.tmux.conf
# Easily move around panes, just like vim
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Easily create new panes similar to vim
bind v split-window -h
bind s split-window -v
# Disable the ESC key functionality since it causes issues
# with vim and other software that relies on ESC
set -s escape-time 0
# Get TPM up and running
set -g @tpm_plugins " \
tmux-plugins/tpm \
tmux-plugins/tmux-yank \
tmux-plugins/tmux-battery \
tmux-plugins/tmux-sensible \
"
# initializes TMUX plugin manager
run-shell ~/.tmux/plugins/tpm/tpm