Skip to content

ivy-switch-buffer prefers special buffers #522

Description

@benmaughan

Hi,
First, thanks for the great software!
I see some unexpected (to me) behaviour in ivy-switch-buffer. Say I have two buffers called

 out.txt
 *Shell Command Output*

and I start ivy-switch-buffers and type "out" then the *Shell Command Output* buffer is highlighted and I have to continue typing or use the arrows to select out.txt. I would have expected out.txt to be the preferred match since the string is at the start of the buffer name. I realise I could type "^out" to match out.txt but I would have expected the priority of the results to be different. This seems to be the case whenever there is a *special* buffer that matches the search string anywhere in the name.

Is this the intended behaviour?

Cheers,
Ben

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions