Skip to content

yy, dd and cc also affect first character of the next line #108

Description

@groovy9

I just installed the latest release on WIndows 10 and am testing it in Notepad.

Everything is great except for one major problem: The yy, dd and cc commands all do what they're supposed to do, except that they also affect the first character on the next line.

So for example, dd deletes the current line AND the first character of the next line.

yy copies the current line AND the first character of the next line and you can see the highlighted selection as it happens.

cc replaces the current line AND the first character of the next line.

I also tested the C and D commands and they are not affected. I'm guessing the problem is somewhere in the YDCMove() function.

Edited to add: I installed the ahk scripts from the source tarball instead of the binary and added the line SendInput("{Home}") to the top of MoveFinalize() in lib/vim_move.ahk. That appears to have fixed the problem above, but I haven't used it enough to know if that broke something else.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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