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

Separate key sequence for local search #36

Open
Jongy opened this issue Jan 29, 2020 · 1 comment
Open

Separate key sequence for local search #36

Jongy opened this issue Jan 29, 2020 · 1 comment

Comments

@Jongy
Copy link

Jongy commented Jan 29, 2020

This plugin is amazing and I'm very happy that I found it.

A small improvement I wish it had (and I'm wondering whether it's feasible without changing zsh internals): When I'm searching something in the history, I'm fully aware as to whether it should be found locally or globally. So I'd prefer a different key sequence for a local search, and always have ^R do global search. Currently I have to remember the state of many different open shells (or, alternatively, I have to ^G once or twice to check the state).

From a quick look in the code, I see the plugin doesn't register a new "history searcher" with separate file(s), and so I'm wondering whether it's even possible without changing zsh itself?

@jezus-nunez
Copy link

You might be interested in #41

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