You need to use system's clipboard when pasting between separate vim instances. Try "+y
to copy to the +
register and "+p
to paste from it. Depending on your OS, you might also try the *
register if +
does not seem to work.
Unable to paste in VIM [closed]
Pregunta
Steps to reproduce:
1) Open any file (example.txt).
2) Press v and select some lines.
3) Press y to yank them (also tried yy).
4) :q to quit.
5) Open any other file.
6) p to paste.
7) E353: Nothing in register "
No hay solución correcta
Otros consejos
Yank/paste buffer is not saved between runs of vim, at least by default. Instead do: y, then :split other-file, and paste it there.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow