Skip to content

[Feature Request] Automatically fix the use of count to move block lines. #79

@fovj

Description

@fovj

After selecting multiple lines of text with V, using count<A-k> to move lines results in different relative line numbers when the cursor is on the first line versus the last line.

I recorded a GIF to reproduce this:
When the cursor is on the text line 1, 4<A-k> moves exactly to the target text.
When the cursor is on the text line 3, 6<A-k> moves two lines too far.

Image

Because moving the cursor in V mode also changes the relative line number.
This does not occur when moving the current line in normal mode.

This should be automatically corrected based on the number of selected lines.

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