小编Jor*_*dan的帖子

vim错误设置中的电力线

我按照他们的安装建议使用 pip install 安装了电力线。我在 zsh 作为提示和 tmux 作为状态行都可以正常工作,但我无法让它在 vim 中工作。

当我将以下内容添加到我的 vimrc 时:

python from powerline.vim import setup as powerline_setup
python powerline_setup()
python del powerline_setup
Run Code Online (Sandbox Code Playgroud)

我收到以下错误

Error detected while processing /home/jordan/.vimrc:
line    1:
E319: Sorry, the command is not available in this version: python from powerline.vim import setup as powerline_setup
line    2:
E319: Sorry, the command is not available in this version: python powerline_setup()
line    3:
E319: Sorry, the command is not available in this version: python del powerline_setup
Run Code Online (Sandbox Code Playgroud)

编辑:在检查我的 …

vim vimrc

9
推荐指数
1
解决办法
6145
查看次数

标签 统计

vim ×1

vimrc ×1