summaryrefslogtreecommitdiff
path: root/tmux/tmux.conf
blob: d4213499a055661d03cab29aa4e0d47a1373d2e8 (plain)
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
# improve colors
set -g default-terminal "screen-256color"

# change status bar color to black and white
set -g status-bg "#000000"
set -g status-fg "#c5c6c4"

# remove administrative debris (session-name, hostname, time) in status bar
set -g status-left ''
set -g status-right '#{battery_status_bg} Batt: #{battery_icon} #{battery_percentage} #{battery_remain}'

# act live dvtm
unbind C-b
set -g prefix C-z

# act like vim
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'https://git.linux-help.org/psi-jack/tmux-indicators'
set -g @plugin 'tmux-plugins/tmux-battery'

run '/usr/share/tmux-plugin-manager/tpm'