Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

TPM Plugin configure key mapping #380

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Ovascos
Copy link

@Ovascos Ovascos commented Mar 30, 2024

Hello 馃憢

as someone who loves TPM but uses a different key binding for pane navigation, I was a bit annoyed that the provided TPM plugin does not support configuring the key mapping for navigation. Of course, someone could resort to copying the provided setting to their .tmux.conf (or even fork this project), but I believe in using plugins to keep the config clean.

Thus, I've updated the plugin to support parameters for configuring the key mapping. It is possible to have multiple keys for each navigation action, as well as disable an individual mapping if desired. Have a look in the updated README to see how it works.

I've tested my changes in tmux version 3.2a, 3.4, as well as 2.9a (as the configuration parsing had some breaking changes in version 3.0). I hope I didn't miss any weird corner case.

@Ovascos Ovascos changed the title Tpm config TPM Plugin configure key mapping Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant