vim and the Ubuntu clipboard
Two of my friends have recently become vim fanatics. I played with vim a little before, but now I’ve made it my primary editor.
One thing that bugged me was that, by default, you are not able to copy text from vim into other applications in Ubuntu. To fix this, you just need to do:
sudo apt-get install vim-gnome
Then, you can visually select a block of text and yank it to the clipboard using the
To paste the contents of the clipboard into vim, you would use the