Need help with eleline.vim?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

liuchengxu
306 Stars 72 Forks MIT License 74 Commits 4 Opened issues

Description

:herb: Another elegant statusline for vim

Services available

!
?

Need anything else?

Contributors list

# 11,152
Rust
Vim
vimrc
Neovim
50 commits
# 236,922
Vim
HTML
CSS
health-...
10 commits
# 5,755
Rust
Perl
Shell
tmux-pl...
2 commits
# 571,055
vim-plu...
Vim
TypeScr...
JavaScr...
1 commit
# 91,395
CSS
HTML
file-ma...
Vim
1 commit
# 435,434
HTML
CSS
vim-plu...
Vim
1 commit
# 22,639
Rust
tmux-pl...
elm
fronten...
1 commit
# 270,158
Vim
lightli...
statusl...
Neovim
1 commit
# 205,725
Neovim
Lua
floatin...
dispatc...
1 commit
# 68,490
Rust
abac
d3v4
vuejs2
1 commit

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.