Skip to content
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

[BUG] [p and ]p history items get inserted character-wise #44

Closed
midrare opened this issue Aug 23, 2022 · 4 comments
Closed

[BUG] [p and ]p history items get inserted character-wise #44

midrare opened this issue Aug 23, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@midrare
Copy link

midrare commented Aug 23, 2022

The expected behavior for [p and ]p would be that every item is forced line-wise, but any character-wise yanks beyond the first item get inserted character-wise.

Animation

Steps to reproduce:

  1. Yank a character-wise string
  2. [p
  3. Cycle through put history with <C-p>
  4. Observe that character-wise history items show up on the current line
@gbprod
Copy link
Owner

gbprod commented Aug 24, 2022

That's right, I'll work on a fix soon.
Thanks for reporting this issue!

@gbprod
Copy link
Owner

gbprod commented Aug 25, 2022

I've made something here #45 if you want to test before I merge :)

@gbprod gbprod added the bug Something isn't working label Aug 25, 2022
@gbprod
Copy link
Owner

gbprod commented Aug 25, 2022

#45 fix the issue

@gbprod gbprod closed this as completed Aug 25, 2022
@midrare
Copy link
Author

midrare commented Aug 25, 2022

Tested, and working on my end 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants