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

Add action to repeat last search #316

Open
yancoupro opened this issue Nov 26, 2019 · 3 comments
Open

Add action to repeat last search #316

yancoupro opened this issue Nov 26, 2019 · 3 comments
Labels

Comments

@yancoupro
Copy link

I would like the ability to repeat the last search in the same mode I did it with a hotkey. Allowing me to just type the next matching occurence of interest.

@breandan breandan changed the title repeat last search Add option to repeat last search Nov 30, 2019
@breandan breandan changed the title Add option to repeat last search Add action to repeat last search Nov 30, 2019
@stevium
Copy link

stevium commented Oct 18, 2020

Can't believe this is not yet a feature, instead of typing last search from scratch, you would just press n/N (or some other hotkey as this one is already reserved by IdeaVim) to cycle Forward/Backward through occurrences.

@breandan
Copy link
Collaborator

PRs welcome! To implement this functionality, one would need to add two new actions (forward and backward). After any AceJump action is completed, the reset is called, where you would need to store the last query and the jump mode. Finally, an integration test would be welcome.

@MarcinOrlowski
Copy link

That's really would be a useful feature, esp. handy with longer search phrases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants