Skip to content

rockyzhang24/eleline.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eleline.vim

Another elegant statusline for vim, extracted from space-vim.

Currently supported plugins:

If you're using newer vim or neovim, i.e., async API is available, eleline will probe the git branch info asynchronously instead of depending on vim-fugitive, making your vim never slower due to the statusline.

Installation

This plugin can be installed with a variety of plugin managers, e.g., vim-plug:

Plug 'liuchengxu/eleline.vim'
" Optional. If you use vim-fugitive and want a callback from it to update eleline.
" autocmd User FugitiveChanged if exists("b:eleline_branch") | unlet b:eleline_branch | endif

Don't forget to set laststatus=2 to always display statusline.

Usage

It's encouraged to fork eleline.vim to make your own custom vim statusline.

Customization

  • Ordinary font by default

    screenshot

  • Powerline font

    If the powerline font is available, i.e., let g:airline_powerline_fonts = 1 or let g:eleline_powerline_fonts = 1:

    screenshot

  • Keep it simpler

    Only show the buffer number, window number, filename and info from the plugins via let g:eleline_slim = 1:

    screenshot

    See :h CTRL-G when you need more info.

License

MIT

About

🌿 Another elegant statusline for vim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%