Skip to content

Commit

Permalink
fix: tmux plugins was uninstalled wrongly
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreytse committed Oct 11, 2024
1 parent 95af91a commit fc1ed6c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tmux/tmux.conf.local
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ set -g mode-keys vi

# -- user plugins -------------------------------------------------------

# Fix uninstalling plugins issue caused by tmux configuration. Instead, using
# r (Reload config) or S-u (Update plugins) to update plugins.
bind I run-shell "echo 'Please use prefix-r (Reload config) or prefix-U (Update plugins) to install plugins!'"

# List of plugins
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-yank'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run "$HOME/.tmux/plugins/tpm/tpm"

# tmux-resurrect
bind C-s run-shell -b "$HOME/.tmux/plugins/tmux-resurrect/scripts/save.sh"
bind C-r run-shell -b "$HOME/.tmux/plugins/tmux-resurrect/scripts/restore.sh"
Expand Down

0 comments on commit fc1ed6c

Please sign in to comment.