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 clipboardand see it comes up as-clipboardinstead 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/vimPPA on 16.04, and I have+clipboard. OP: What doesupdate-alternatives --display vimreport? Is it pointing tovim.gtk3? – muru Apr 23 '18 at 01:42jonathanf/vimPPA 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:53vimpackage'svim.basichas lots of features disabled (on Debian/Ubuntu and on PPAs which build on the existing packaging) - it's just a few steps above thevim.tinyinstalled by default. You should install one of the GUI Vims orvim-noxfor more features (butvim-noxunderstandably 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