Accessing X Clipboard with Vim
You can access the X clipboard in Vim by using the ‘+’ buffer.
So to paste from your system clipboard into Vim use:
"+p
And to copy the current line to system clipboard use:
"+Y
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
About this entry
You’re currently reading “ Accessing X Clipboard with Vim ,” an entry on bluebones.net
- Published:
- 2006.01.08
- Category:
- Other
No comments
Jump to comment form | comments rss [?] | trackback uri [?]