I'm on Arch, and recently the vim-python3
and gvim-python3
packages were removed, so I'm working on building vim from source such that the :python
command will act as python3
. Specifically, I'm doing this so that the vim-jedi
package will work properly. I tried changing the
--enable-pythoninterp=dynamic
flag in my PKGBUILD
to
--disable-pythoninterp
but when I did vim --version
after building and installing, it still showed
+python/dyn
Also, doing
:python import sys;print(sys.version)
showed python 2 still. What do I need to change to have only python 3?
:python command will act as python3
... is that possible without mapping:python
to:python3
?