Skip to content

Y copies the entire line, instead of "from a current cursor position to the EOL" #10003

@h3xOo

Description

@h3xOo

Describe the bug
When I press Y in the normal mode, I expect a line to be copied from the current cursor position to the EOL. Instead, the entire line is copied (like yy).

To Reproduce
Steps to reproduce the behavior:

  1. Place the cursor in the middle of the line,
  2. press Y,
  3. press p to see the yanked text (the entire line).

Expected behavior
p would paste only half of the line (or wherever the cursor was).

Screenshots

Nagranie.z.ekranu.2026-05-8.o.13.11.18.mov

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.32.4
  • VSCode version: 1.119.0 (Universal)
  • OS: 1.119.0 (Universal)

Additional context
Add any other context about the problem here.
D works as expected (deletes line from the current cursor to the EOL).
The video shows the default (commented) config and only one enabled extension.

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