linux - vim插件powerline速度慢
PHP中文网
PHP中文网 2017-04-17 16:17:36
0
1
343
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 bind s that 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實現,不需要調用外部進程
畢竟對於一個頻繁刷新的狀態列來說,調用外部進程的開銷太大了。

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!