Skip to content

Breaks opening folds with "n"/"N" (with foldopen+=search) #58

Open
@blueyed

Description

@blueyed

I've noticed that folds are not opened during search with n when vim-oblique is being used.

I think it would be a good fix to call zv automatically in case 'foldopen' contains search.

I am not sure if there is a way to undo zv when going to the next/prev search result (which I assume Vim does for its internal n/N).

It works with foldopen=all btw (!), and this appears to be different from enabling all options separately (i.e. adding jump and insert to the default setting).

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