Skip to content

k motion goes to wrong line when in line visual mode with cursor above selection #10008

@jimrandomh

Description

@jimrandomh

While in line visual mode with the cursor above the selection start, the k motion goes to the wrong line (it computes the destination relative to the bottom of the selection, when it should be relative to the top). Introduced in fd2b7e8; reverting that commit appears to fix it for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions