VIM

From Han Wiki
Revision as of 22:46, 12 May 2016 by Mhan (talk | contribs) (add a link to the Emmet cheatsheet)

Jump to navigation Jump to search

Miscellaneous

Fixing an issue with Python version when using VIM with some packages

  • Last tested on Ubuntu 16.04 LTS (xenial) | easy | less than five minutes

When running vim with Powerline package on Ubuntu 16.04, I get this error message every time I execute it from the CLI.

$ vim
UltiSnips requires py >= 2.7 or py3
You need vim compiled with Python 2.6, 2.7 or 3.2 and later support
for Powerline to work. Please consult the documentation for more
details.
Press ENTER or type command to continue

I'm not sure what this does, but this seems to solve the problem. Thanks to Sergey Khaylov for the answer at Stackoverflow.

$ apt-get install vim-nox