Skip to content

Feature Request: navigate wrapped lines as individual rows in Vim mode #389

Open
@csala

Description

@csala

Is your feature request related to a problem? Please describe.

When Vim mode is enabled, lines which are wrapped into multiple editor rows behave like a single long line, making it difficult to navigate and edit the middle parts of the line.

So, for example, in the screenshot example, if the cursor is set on top of the laboris word and in normal mode, pressing j does not move the cursor to the word reprehenderit, but instead directly to line number 2, which is 4 editor rows below. Similarly, pressing 0 does not move the cursor to the beginning of the word nostrud, but to the word Lorem 3 rows above.

image

In contrast, when Sublime mode is enabled, each row in the wrapped line can be navigated individually with the arrows or Home+End keys.

Describe the solution you'd like

I would like navigation keys h j k l $ 0... to allow moving the cursor between different rows of the wrapped long line like arrows do in Sublime mode.

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