Skip to content

Vim mode Y & p/P commands works improperly #4

Description

@timothycosta

Vim mode’s Y + p or P commands do not work properly.

First, Y only captures from the cursor to the end of the line, whereas in vim it captures the entire line. yy seems to work fine.

Given the following text:

1
2
3
4

Move the cursor to line 2 and press Y.
Then press kP
The text will then read

1
22
3
4

However, in vim it will correctly be

1
2
2
3
4

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