I've seen a guy (in a tutorial) pasting text, which he has copied (or yanked?) in a browser, in a file in vim. I was not able to reproduce this - I'm not very experienced in using vi or vim.
I can quote from this site:
Vim has extended vi to allow use of the * register as a reference to the system clipboard. So we can use normal mode commands like: "*dd or 1G"*yG to copy things into the * register and "*p to paste text from it.
So my question (slightly related is this one or this one, which I don't quite understand) is: how can I get access to any clipboard using vim in Fedora/Gnome?
:"*p
did not work for me,
:*p
neither.
Thanks!