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

Way to disable a predefined searches. #149

Open
roachsinai opened this issue Jun 23, 2020 · 3 comments
Open

Way to disable a predefined searches. #149

roachsinai opened this issue Jun 23, 2020 · 3 comments

Comments

@roachsinai
Copy link

New to this plugin, and from customizations.md found two predefined searches:

  • @copycat_hash_search (default M-h) SHA-1 hash search
  • @copycat_ip_search (default M-i) IP address search

But I use prefix M-h to select left pane, is there a way to just disable @copycat_hash_search, and then let my binding works?

Or I have to set @copycat_hash_search to other binding not M-h.

@bruno-
Copy link
Member

bruno- commented Jun 23, 2020

Or I have to set @copycat_hash_search to other binding not M-h.

Yes, I think this should do the trick.

@roachsinai
Copy link
Author

Or I have to set @copycat_hash_search to other binding not M-h.

Yes, I think this should do the trick.

So no setting to cancel/forbid that bind directly right now?

@roachsinai
Copy link
Author

roachsinai commented Jun 24, 2020

Hi, I've ask help with tmux member about this. What I want is use tmux hooks to make this, specificaly use session-created, it not work as copycat may bind key after create session.

You will need to ask the plugin developers how it works, I don't know, but if session-created works with a different key binding then it must be changing it after the session is created.

tmux/tmux#2282

Seems set-hook -g session-created 'bind-key -T prefix M-h select-pane -L' should work, but it failed.

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