In init.vim
I have the following setting to ensure the text is yanked to the system clipboard:
set clipboard^=unnamed,unnamedplus
In Neovim, I select the lines with visual line mode (V
) and copy them with y
:
a
b
c
In a webpage textarea, do Cmd+V / Ctrl+V, what's being pasted is:
a
b
c
👈 an extra new line
I don't want the extra line when pasting. How to achieve that?