I wanted to use Gundo.vim on gvim on win10, so I installed it using dein.vim.
Gundo requirements Vim to be compiled with Python 2.4+
said he.
Python has already installed 3 series from Anaconda, but this time it has to be 2 series.
When you install Anaconda, you should have checked through PATH so that you can python from a command prompt...
By the way, : echo has('python')
is 0.
Thank you for your cooperation.
vim
You need a Vim with Python instead of the python
command.The preparation method depends on the environment, so please check it out.
According to the document, if Python 3 series is built into Vim (: echo has('python3')
becomes 1), setting the optional variables as follows would work:
letg:gundo_prefer_python3=1
If Vim is kaoriya version, I think it will work if you include the official Python 3.5.
Using https://github.com/mbbill/undotree without Python is also a good idea.
© 2024 OneMinuteCode. All rights reserved.