Skip to main content

Vim and the system clipboard

Vim config of the week: I can now copy & paste between vim and the rest of my system. This has been something I wanted to have for a long time, and the Stack Exchange answer sounds like it's standard stuff. In any case, I am now directly yanking and pasting to and from the system clipboard anytime I use y or p in Vim.

And all with a simple

set clipboard+=unnamedplus

in my vimrc.