VIM: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
No edit summary
add a link to the Emmet cheatsheet
Line 1: Line 1:
* [http://docs.emmet.io/cheat-sheet/ Emmet cheatsheet]
== Miscellaneous ==
=== Fixing an issue with Python version when using VIM with some packages ===
=== 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''
* ''Last tested on Ubuntu 16.04 LTS (xenial) | easy | less than five minutes''

Revision as of 21:46, 12 May 2016

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