Closed
Description
Steps to reproduce, using ivy-switch-buffer to switch buffers:
- Open two buffers with a common prefix. In my case,
todo.org
andtodo.org_archive
. - Switch to
todo.org
. - Switch to some third buffer, like
*Messages*
. - Switch to some fourth buffer, like
*scratch*
. - Invoke
ivy-switch-buffer
. - Start typing your common prefix from step 1, e.g.
todo
.
Expected behavior: todo.org
is first in Ivy's candidates list and is selected, since that was the most recent buffer with that string.
Observed behavior: todo.org
is first in Ivy's candidates, but todo.org_archive
is the second and is the selected option, presumably because ivy-switch-buffer
starts with the "other" buffer selected by default, which (AFAIK) is always the second option.
Is there any way to get ivy-switch-buffer
to select the most recent non-current buffer after filtering? I believe this behavior changed as of 79ffa67 (#484). Thanks!
Metadata
Metadata
Assignees
Labels
No labels