You can access the X clipboard in Vim by using the ‘+’ buffer.
So to paste from your system clipboard into Vim use:
And to copy the current line to system clipboard use:
On Ubuntu 5.10 (“Breezy Badger”) this only works (in both vim and gvim) once you have installed gvim:
sudo apt-get install gnome-vim