-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
numbered register 0 is not updated in Y #1214
Comments
Hi - This is still not working for me btw: Exact same problem. Technical Details:
|
Works for me. Please ensure you have the appropriate settings for: You can use the |
Right. So I identified what the issue is for me. It doesn't work if I am yanking from visual mode. All the others work. Essentially, If I want to yank, say, a block by doing: "V%y", my "0 reg won't be updated. However, if I do something like "yw" or "y$" or whatever, that works. Basically, the issue is that yanking from visual mode does not update the "0 registry |
Also seems like it doesn't update with a command like Either way though, I assume you'd be accepting PRs for this fix? If it's not too complex and nobody else has gotten to it, I'm willing to give it a go at fixing! |
Multiline yank writes to 0 register; fixes #1214
What did you do?
yank a line with
Y
instead ofyy
What did you expect to happen?
The numbered register
"0
is updated.What happened instead?
The
"0
is not updated.Note: The
"0
works foryy
though.Technical details:
The text was updated successfully, but these errors were encountered: