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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow binding of non-prefixed key #181

Open
niqodea opened this issue Dec 10, 2023 · 1 comment
Open

Allow binding of non-prefixed key #181

niqodea opened this issue Dec 10, 2023 · 1 comment

Comments

@niqodea
Copy link

niqodea commented Dec 10, 2023

Hi! Thank you for this plugin, it is a huge leap forward from the clunky native yanking experience.

In my workflow, I am used to assign non-prefixed keybindings for my most common actions. Would it be possible to have an option to specify this in the configuration? I can also write the PR for it if needed.

@abhinav
Copy link
Owner

abhinav commented Dec 10, 2023

Hello! Thanks for the kind words.

Two things:

(1) Yes, that's something that makes sense for tmux-fastcopy to support.
This is where the binding is installed, so we'd just need to add -n there based on some opt-in.

(2) This is also already possible today if you invoke tmux-fastcopy directly -- if that's something you'd prefer.
e.g. this will work:

bind-key -n C-M-f run-shell -b tmux-fastcopy

That said, again, I'm supportive of having this be possible using the standard way (as a Tmux plugin). I'll be happy to accept a PR for this.

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

No branches or pull requests

2 participants