Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ivy-switch-buffer prefers special buffers #522
and I start
Is this the intended behaviour?
This is a bug related to the fact that
However, this reveals that bug in the anchoring algorithm. The anchoring algorithm recomputes the candidate index with updates in the input. It tries to make it so the closest matching candidate below the previous one is selected. This fix isn't trivial, and I don't have enough time to fix it properly right now. So this issue and the mentioned ones will have to stay open for a while.
The simplest way to fix it is to reset the index to 0 with each input, however it's a lazy solution and I'd rather have the proper one.