I have install Vim 8 (so that I can use ale). Unfortunately I can't seem to get the system clipboard to work. (E.g. using vim-gnome
I would use the "+y
to yank to the system clipboard. Has anybody got this working?
I installed Vim 8 using:
sudo add-apt-repository ppa:jonathonf/vim
sudo apt update
sudo apt install vim
vim --version | grep clipboard
and see it comes up as-clipboard
instead of+clipboard
. I don't know of any prebuilt vim 8 packages for ubuntu 16 that have clipboard. – Matt Greer Apr 23 '18 at 00:02jonathanf/vim
PPA on 16.04, and I have+clipboard
. OP: What doesupdate-alternatives --display vim
report? Is it pointing tovim.gtk3
? – muru Apr 23 '18 at 01:42jonathanf/vim
PPA youapt install vim
, it installsvim.basic
. If you insteadapt install vim-gtk3
, then you get vim.gtk3 which has+clipboard
– Matt Greer Apr 24 '18 at 02:53vim
package'svim.basic
has lots of features disabled (on Debian/Ubuntu and on PPAs which build on the existing packaging) - it's just a few steps above thevim.tiny
installed by default. You should install one of the GUI Vims orvim-nox
for more features (butvim-nox
understandably has clipboard support disabled). This is true of all versions of Ubuntu and Debian, though the GUI Vim packages may have different names. – muru Apr 24 '18 at 06:19