Skip to content

Setting evil-ex-search-persistent-highlight to nil does not clear highlight when pressing n or N #1982

@Sjmarf

Description

@Sjmarf

I've got evil-search-module set to evil-search.

If I set evil-ex-search-persistent-highlight to nil, the highlight (correctly) goes away when I conclude a search by pressing return. However, when I press n or N, the highlight returns and remains permanently. I'd like a way to configure this such that it has the same behaviour as isearch: when n is pressed, show the highlight until the cursor is moved. This could be implemented by changing how evil-ex-search-persistent-highlight behaves, or by adding a new configuration variable.

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