4,461
edits
mNo edit summary |
mNo edit summary |
||
Line 19: | Line 19: | ||
{{Testedon|2013-08-10|VIM 7.4}} | {{Testedon|2013-08-10|VIM 7.4}} | ||
< | <source lang="vim"> | ||
:ve | :ve | ||
</ | </source> | ||
== Reload .vimrc without quitting == | == Reload .vimrc without quitting == | ||
{{testedon|2013-08-10|VIM 7.4}} | {{testedon|2013-08-10|VIM 7.4}} | ||
< | <source lang="vim"> | ||
:so ~/.vimrc | :so ~/.vimrc | ||
</ | </source> | ||
== Fixing an issue with Python version when using VIM with some packages == | == Fixing an issue with Python version when using VIM with some packages == | ||
{{testedon||Ubuntu 16.04 LTS}} | |||
When running <code>vim</code> with Powerline package on Ubuntu 16.04, I get this error message every time I execute it from the CLI. | When running <code>vim</code> with Powerline package on Ubuntu 16.04, I get this error message every time I execute it from the CLI. | ||
< | <source lang="console" highlight="1"> | ||
$ vim | $ vim | ||
UltiSnips requires py >= 2.7 or py3 | UltiSnips requires py >= 2.7 or py3 | ||
Line 42: | Line 42: | ||
details. | details. | ||
Press ENTER or type command to continue | Press ENTER or type command to continue | ||
</ | </source> | ||
I'm not sure what this does, but this seems to solve the problem. Thanks to Sergey Khaylov for the answer at [http://stackoverflow.com/questions/20160902/how-to-solve-requires-python-2-x-support-in-linux-vim-and-it-have-python-2-6-6 Stackoverflow]. | I'm not sure what this does, but this seems to solve the problem. Thanks to Sergey Khaylov for the answer at [http://stackoverflow.com/questions/20160902/how-to-solve-requires-python-2-x-support-in-linux-vim-and-it-have-python-2-6-6 Stackoverflow]. | ||
< | <source lang="bash"> | ||
$ apt-get install vim-nox | $ apt-get install vim-nox | ||
</ | </source> | ||
= .vimrc = | = .vimrc = |