add(TMUX): tpm

This commit is contained in:
Léana 江 2023-04-29 15:27:48 +02:00 committed by Léana 江
parent 8c7211227c
commit 9dc345a3c5
7 changed files with 28 additions and 14 deletions

View file

@ -1,3 +1,7 @@
# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# mouse control
set -g mouse on
@ -21,14 +25,17 @@ bind -n C-n select-window -t 2
bind -n C-s select-window -t 3
# improve window swapping
# bind -n C-o swap-window -t -1
# bind -n C-u swap-window -t +1
bind C-h swap-window -t -1
bind C-t swap-window -t +1
# status bar
set-option -g status-left '#{?window_name,#I:#W} #{T}'
# escape delay try
# escape delay
set -s escape-time 0
# reorder window number
set-option -g renumber-windows on
# initialize tpm (TMUX plugin manager)
run '~/.tmux/plugins/tpm/tpm'