Skip to content

End of visual selection is not visible if it occurs in a highlighted search result #1979

@bcc32

Description

@bcc32

To reproduce

  1. Ensure evil-search-module is customized to evil-search

  2. Create a new buffer with the following contents:

    foo
    bar
    baz
    
  3. / b a r RET (now bar is highlighted)

  4. l v g g 0 (select from beginning of buffer through a in bar)

Screenshots

Image

Notice that it is impossible to determine where the visual selection ends, because it is inside a highlighted search result.

In Vim, the visual selection's highlighting overrides the search result, so you can see the whole extent of the selection.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions