How to enable python3 in vim?
You didn't tell us the platform you're on, but it basically boils down to:
- Installing the prerequisite packages needed for Python 3 and for compiling Vim
- Compile Vim with the
$sudo apt-get install vim-gnome
should take care of that but the official repos are a bit behind.
I've been using this ppa for a while. After you have added it to your sources, upgrading Vim should give you python 3 support. It does, here.
Mesi Rendón 2 months
I've been using vim for some time, and now in a need to use the python3 feature.
If I type
vim --version | grep pythonI get
How can I do to enable it?
Mesi Rendón over 9 yearsHi Ingo, you're right, I didn't specified that directly, but in the tags I put ubuntu. Thanks anyway, as I've been reading, I'd say this is the only way.
amerixan about 1 yearSlight correction,
./configure --enable-python3interp. The user should be able to know how to install from source, but explicitness is nice for lazy people. :)