tmux-plugins / tpm

Tmux Plugin Manager
MIT License
11.9k stars 417 forks source link

Can I change default keybinds, #235

Open huwqchn opened 1 year ago

huwqchn commented 1 year ago

I use colemak keyboard layout, prefix + I and prefix + U used for resize, It's conflict with tpm keybinds, Can I chang tpm default kybinds?

cowboyliao commented 1 year ago

I am colemak user too, after search few mins in source code, It just need to config the ~/.tmux/plugins/tpm/scripts/variables.sh, and resource it.

edentsai commented 1 year ago

To custom the TPM default key bindings at tmux.conf:

# NOTE: must custom before run `tpm/tpm`.
set-option -g @tpm-install "I";
set-option -g @tpm-update "U";
set-option -g @tpm-clean "M-u";

# ...

run-shell '~/.tmux/plugins/tpm/tpm';