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

Pasting text ending with newline pastes to wrong line. #1015

Open
jordwalke opened this issue Oct 14, 2015 · 1 comment · May be fixed by #1041
Open

Pasting text ending with newline pastes to wrong line. #1015

jordwalke opened this issue Oct 14, 2015 · 1 comment · May be fixed by #1041

Comments

@jordwalke
Copy link

a b c

d e f

Visually highlight b through c but include the newline in the selection. Press yank y.

Then put the cursor right before e. Then "paste backwards" with P.

You should get

a b c

d b c
e f

But instead you get

a b c

b c
d e f

@jordwalke
Copy link
Author

In fact, P might entirely be broken if your yanked text contains a newline anywhere - not just at the end.

@jordwalke jordwalke changed the title Pasting text ending with newlin pastes to wrong line. Pasting text ending with newline pastes to wrong line. Oct 15, 2015
@craig-sh craig-sh linked a pull request Nov 22, 2015 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants