Home  >  Q&A  >  body text

linux - vim插件powerline速度慢

PHP中文网PHP中文网2713 days ago325

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 16:19:36

    The concept of Powerline is very interesting, so there are many similar projects on GitHub.
    However, the Powerline project itself is a bit outdated.

    If you like this style, I recommend two to you:

    • vim-airline: An out-of-the-box Powerline-like plug-in, well adapted to many third-party plug-ins

    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: A high degree of freedom Powerline-like plug-in. You need to adapt third-party plug-ins by yourself. The author provides reference configuration

    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.

    Your problem is actually what these two plug-ins want to solve: PurevimLimplementation, no need to call external processes
    After all, for a status bar that refreshes frequently, the overhead of calling external processes is too high.

    reply
    0
  • Cancelreply