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?
to your account
When I use ivy-resume after a swiper search, the highlighted result is the first one. Is it possible to resume at the same place where swiper was exit?
(To put this in context, I'm trying to understand how to do the same thing than C-s C-s using swiper.)
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
I just realized I did not report that this works great now. Thanks!
For some reason, this still does not work for me. It seems as if ivy--preselect-index indeed returns the proper index, but the search still restarts at the top. Minimal example to reproduce the problem is emacs -Q, and then putting
(setf package-load-list '((swiper t))
(global-set-key (kbd "C-c s") #'swiper)
(global-set-key (kbd "C-c h") #'ivy-resume)
into the scratch buffer and evaling it.
ivy.el (ivy-resume): Pass caller
@cruegge Thanks, should be fixed now.
Thanks, works perfectly now.
No branches or pull requests