如何在termux中运行vimpython

2024-09-27 23:16:26 发布

您现在位置:Python中文网/ 问答频道 /正文

背景

我在android上的termux应用程序中安装了vim。每次我启动它都会收到这个错误消息

UltiSnips: the python version from g:UltiSnipsUsePythonVresion (3) is not available. YouCompleteMe unavailable: requires Vim compiled with Python (2.7.1+ or 3.4+) support.

如果我在termux上运行vim --version,我会得到这个 enter image description here

显然,python在我的vim版本上没有启用。但是,我发现有一个vim pythonpackage on termux,我已经安装了它:

enter image description here

这就是我的~/.vimrc的样子:

enter image description here

问题

如何使运行的vim使用vim-python而不是非python vim?你知道吗


Tags: thefrom应用程序消息isversion错误not

热门问题