Skip to content

Preserve cursor position for yank #22

Description

@Praful

I'm not sure if this plugin is still maintained.

When typing yai, the cursor moves to the beginning of the selection.

When typing vai, the cursor moves to the end of the selection.

There's some logic for moving when vai is used because you could continue selecting downwards. However, what is the rationale for moving the cursor when yai is typed? One possible justification is that if you're in a method and yank it, moving to the top would let you paste the recently yanked text ie to duplicate the method.

It would be nice to have the choice of moving the cursor or not.

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