Add action to repeat last search
yancoupro opened this issue · 3 comments
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.
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.
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.
That's really would be a useful feature, esp. handy with longer search phrases