Skip to content

[Feature Request] Treat lines with soft wrap the same way as non-broken lines when using j,k #2186

Closed
@elmewo

Description

  • Click thumbs-up 👍 on this issue if you want it!
  • Click confused 😕 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


FEATURE REQUEST:

Environment:

  • VSCode Version: 1.18.1
  • VsCodeVim Version: 0.10.5
  • OS: Win10

When I work on a LaTeX document I usually turn on automatic word wrap in VS Code because of long sentences. Navigating with j,k up and down the lines is a pain then because the cursor jumps right to the next line (with line number) rather than going down one screen line.
I'd love to navigate in those lines with soft line breaks the same way as in those with hard line breaks.

Undesired behaviour can be reproduced as follows:

  1. Add lorem ipsum to document.
  2. Turn on word wrap (ALT-Z).
  3. Navigate in broken lines with j,k. Cursor will skip some screen lines and jump to next numbered line.

Desired behaviour:

Cursor should move like it does with UP,DOWN when Vim-Mode is deactivated, namely from screen line to screen line.

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