Skip to content

Optional folding when backward searching #2110

@Eryx5502

Description

@Eryx5502

Hi!

When using backward search (at least with zathura as viewer), the function vimtex#view#reverse_goto is used to jump to the correct location in the .tex. Right now this function perfoms a folding (with normal! zMzvzz), which folds some things out if folding is enabled.

It would be useful (at least to me) to be able to have folding enabled but not getting the fold status of the buffer changed when using backward search. I haven't found an option to modify this behaviour through the docs, so right now I have commented out the line doing the folding as a workaround.

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