Search code examples
ubuntuvim

VIM-version with support for system clipboard (in terminal)


I am running KDE Neon (Ubuntu) and want to be able to yank and copy to/from system clipboard. The standard vim application that is preinstalled on Ubuntu systems does not support this.

What version of VIM should I run to get this support? I want to run VIM in the terminal, so gvim is not an option. I have been looking at nvim, but it grabs .vim and .vimrc from somwhere else???


Solution

  • $ sudo apt-get install vim-gtk will give you a Vim built against X with the +clipboard feature.