Skip to content

The extension ignores folded/collapsed state of text blocks #9905

@me76

Description

@me76

Describe the bug
When there are folded/collapsed blocks of text, cursor move commands don't skip over folded blocks.

To Reproduce
Steps to reproduce the behavior:

  1. Collapse/fold some blocks of text.
  2. Go through folded block (from top to bottom or bottom-up) - instead of skipping the block, the editor expands the block and moves cursor through it.
  3. Use other cursor moves such as 'H', 'L', 'Z' (move to top/bottom/middle of screen) - cursor stops at folded block as if it has stopped at a line inside the block, instead of using only the visible part of text.

Expected behavior
I expect the cursor to skip over collapsed blocks.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.32.4
  • VSCode version: 1.108.1
  • OS: Windows 11

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