Notes of Maks Nemisj

Experiments with JavaScript

Ubuntu 16.04, ViM and broken plugins

If you have moved to Ubuntu 16.04 you can find out that your old ViM stuff is not working – Some plugins are broken. This is due to the change in python interpreter for ViM ( https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#VIM_defaults_to_python3 )

To fix this you have to use different package of vim, like vim-gnome-py2. If you’re like me and using ncurses version of vim you would go better with to vim-nox-py2 package.

sudo apt install vim-nox-py2
sudo update-alternatives --set vim /usr/bin/vim.nox-py2
sudo update-alternatives --set vi /usr/bin/vim.nox-py2

That should fix broken plugins.

, ,

3 thoughts on “Ubuntu 16.04, ViM and broken plugins

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.