Skip to content

swiper: ivy-yank-word less useful when there are multiple matches in the current line #314

@zhaojiangbin

Description

@zhaojiangbin

Reproduction:
1- In scratch buffer enter the following line:

Some_type v = Some_func();

2- Place the cursor on the second 'S' - one that following the '='.
3- Run swiper, press C-w to yank the word "Some" (or type in the word "Some").
4- Watch the point jumping to the first occurrence of "Some".
5- It is now unable to yank the word "_func".

With case folded, this can happen even more often in C and C++ code.

There is a workaround: at the prompt type "_f", instead of pressing C-w again in step 5. It is less convenient though.

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