linux - vim插件powerline速度慢
PHP中文网
PHP中文网 2017-04-17 16:17:36
[Linux讨论组]
PHP中文网
PHP中文网

认证高级PHP讲师

全部回复(1)
伊谢尔伦

Powerline 的概念很有意思,所以GitHub上很多类似的项目。
但是,Powerline 这个项目本身有点过时了。

如果是喜欢这样的风格,给你推荐两个:

  • vim-airline: 开箱即用的类Powerline 插件,对很多第三方插件都做了良好适配

There's already powerline, why yet another statusline?

  • 100% vimscript; no python needed.

What about vim-powerline?

  • vim-powerline has been deprecated in favor of the newer, unifying powerline, which is under active development; the new version is written in python at the core and exposes various bindings such that it can style statuslines not only in vim, but also tmux, bash, zsh, and others.

  • lightline.vim: 高自由度的类Powerline 插件, 需要自己动手对第三方插件做适配,作者有提供参考配置

Why yet another clone of powerline?

  • vim-powerline is a nice plugin, but deprecated.

  • powerline is a nice plugin, but difficult to configure.

  • vim-airline is a nice plugin, but it uses too much functions of other plugins, which should be done by users in .vimrc.

你的问题,其实就是这两个插件要解决的:vimL实现,不需要调用外部进程
毕竟对于一个频繁刷新的状态栏来说,调用外部进程的开销太大了。

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号