Highlight to copy, middle-click to paste. Works every time for me.
Obviously, if you want to paste into vim you have to be in insert mode.
Obviously, if you want to paste into vim you have to be in insert mode.
"+p
[Ed: for those not familiar with vim: " can be thought of as 'with/from/into register named:', + is the register and p is paste. Similarily "+yw is 'yank/copy current word into register named +'
]should be paste x11 selection. I don't normally use gvim/vim as an x11 application, but looks like * (star) is typically system clipboard:
But the terminal is a special case when it comes to copy/paste and always will be a little weird on any platform. Especially when it comes to line-wrapping in full-terminal applications like vi.
I truly envy the OSX people just on this one aspect.