You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I do M-x ivy-imenu-anywhere and hit C-c C-o, it will go to the match (as if I'd hit enter), instead of opening the occur buffer (the occur buffer is still opened, but "behind" the buffer with the match).
The text was updated successfully, but these errors were encountered:
I don't think this is specific to imenu-anywhere. It does a tiny bit more than replacing completing-read-function for the duration of the call. I hope @abo-abo could tell more about why ivy-occur (C-c C-o) fails in that situation.
OK, I see the issue now. Using just completing-read-function won't work with ivy-occur - ivy-read needs to be called directly (to pass the action parameter).
If it's possible, try to use ivy-read instead of completing-read-function (when ivy-mode is on).
See counsel-imenu: it works with ivy-occur because it passes the :action parameter to ivy-read.
(Originally posted at abo-abo/swiper#1306 )
If I do
M-x ivy-imenu-anywhere
and hitC-c C-o
, it will go to the match (as if I'd hit enter), instead of opening the occur buffer (the occur buffer is still opened, but "behind" the buffer with the match).The text was updated successfully, but these errors were encountered: