From bf70501897bfb25a992a854c14bf6583d4339184 Mon Sep 17 00:00:00 2001 From: Elliott-Liu <16389800+Elliott-Liu@users.noreply.github.com> Date: Tue, 6 Feb 2024 11:29:34 +0000 Subject: [PATCH] Fix tmux tpm uninstall `alt` + `u` on MacOS being bound to special characters See: https://github.com/tmux-plugins/tpm/issues/70 --- dotfiles/config/tmux/tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/config/tmux/tmux.conf b/dotfiles/config/tmux/tmux.conf index b411a17..99cf1c9 100644 --- a/dotfiles/config/tmux/tmux.conf +++ b/dotfiles/config/tmux/tmux.conf @@ -41,6 +41,9 @@ bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel +# Key bindings - Tmux Plugin Manager +set -g @tpm-clean 'u' # Fixes MacOS default `alt` key being used for special characters + # Plugin management set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible'