putting linewise text into a register is broken at EOF #100

Open
misfo opened this Issue Mar 28, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Collaborator

misfo commented Mar 28, 2012

For example, in a file with just the text abc (no newline), yyp should result in the file:

abc
abc

Since there's no newline in the original file, there has to be a special case to add the newline into the register with the yanked text.

sheam commented Jun 13, 2012

Perhaps this is a bug with dd, not p. As dd does not seem to yank the newline character sometimes.

Consider the following text (numerals at beginning are not part of text, but only for illustration):

1. line one
2. line two

Put cursor on line 2, and then dd. You are left with

1. line one
2.

Line 2 does not get fully deleted, just cleared, as if pressing D at beginning of line in normal mode.

Or should I file a seperate issue for this?

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