Closed trusktr closed 10 years ago
Interesting. I'll try to repro this. Let me know if you can figure out more specifically what causes it. Thanks!
@trusktr, I think this may be correct behavior. When text is yanked linewise, (e.g. using yy
or y
in linewise visual mode), it will be pasted on its own line.
@maxbrunsfeld I'm not able to reproduce before. I don't remember if I was yanking linewise, which would make sense as to why it was happening. xD
If I try selecting a word by doing typing
viw
while in NORMAL mode to select the word that the cursor is on, then hit my mapped key foryankstack_substitute_newer_paste
, it'll replace the highlighted word with the newer paste but surrounded with new lines sometimes (not sure exactly when yet).So e.g. if I have
then VISUALly select the word two, then paste newer or older, it will sometimes change to