-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
31 lines (24 loc) · 827 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
# Fix colors.
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",alacritty*:Tc"
# Fixes suggested by :checkhealth nvim.
set -g focus-events on
set -sg escape-time 10
set -g mouse on
# Move between panes with vim key bindings.
bind -r ^ last-window
bind -r k select-pane -U
bind -r j select-pane -D
bind -r h select-pane -L
bind -r l select-pane -R
# Use vim key bindings in tmux copy mode.
setw -g mode-keys vi
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send -X copy-selection
set -g status-style "none,bg=#3a3735"
set -g @plugin 'tmux-plugins/tpm'
# Saves sessions to "${XDG_DATA_HOME:-$HOME/.local/share}"/tmux/resurrect.
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
run '~/.tmux/plugins/tpm/tpm'