Im using Vim 7.3 in Ubuntu and I'm having a little problem copying to the system clipboard with the following command +y but I'm getting the following error: E354: Invalid register name: '+'In my vim --version, I see -xterm_clipboard. The option to copy is from mouse right click is also grayed out. What steps do I need to take to enable the copying of text from my vim to the system clipboard?
Vim unnamed register + or *
vim
Trivial problem, sir.sudo aptitude install vim-gnomewhich already comes pre-compiled with the +xterm_clipboard option.On source-based distros like gentoo, you will have to compile the package with this USE flag specified.