The best vim statusline plugin.

Plug 'glepnir/spaceline.vim'
" Use the icon plugin for better behavior
Plug 'ryanoasis/vim-devicons' or 'kyazdani42/nvim-web-devicons' --neovim only
arrowlet g:spaceline_seperate_style = 'arrow'
| group | Screen shot |
|---|---|
none | ![]() |
arrow | ![]() |
arrow-fade | ![]() |
curve | ![]() |
slant | ![]() |
slant-fade | ![]() |
slant-cons | ![]() |
space,one, nord, draculalet g:spaceline_colorscheme = 'space'
g:spaceline_custom_vim_status custom vim status display. Default is {"n": "π
","V":"π
₯ ","v":"π
₯ ","\<C-v>": "π
₯ ","i":"π
","R":"π
‘ ","s":"π
’ ","t":"π
£ ","c":"π
","!":"SE"}
g:spaceline_custom_buffer_number custom buffer number display value is list
g:spaceline_diagnostic_tool set your diagnostic plugin. Default is coc, other values are:
nvim_lsp, ale
g:spaceline_diagnostic_errorsign set the error sign. Default is β
g:spaceline_diagnostic_warnsign set the warn sign. Default is β
g:spaceline_diagnostic_oksign set the ok sign. Default is ο‘
g:spaceline_git_branch_icon set the git branch icon default is empty
g:spaceline_custom_diff_icon custom diff icon. Default is
['ο','ο','ο']
g:spaceline_diff_tool set the git diff tool default is coc.
Other values are: git-gutter, which requires the vim-gitgutter plugin;
vim-signify, which requires the vim-signify plugin.
g:spaceline_function_icon set the function icon
g:spaceline_scroll_bar_chars set the scroll bar chars. Some alternatives:
" one char wide solid vertical bar This is default
let g:spaceline_scroll_chars = [
\ ' ', 'β', 'β', 'β', 'β', 'β
', 'β', 'β', 'β'
\ ]
" two char wide fade-in blocks
let g:spaceline_scroll_chars = [
\ ' ', 'β ', 'β ', 'β ', 'β ', 'ββ', 'ββ', 'ββ', 'ββ'
\ ]
" three char wide solid horizontal bar
let g:spaceline_scroll_chars = [
\ ' ', 'β ', 'β ', 'β ', 'β ',
\ 'β ', 'β ', 'β ', 'β ', 'ββ ',
\ 'ββ ', 'ββ ', 'ββ ', 'ββ ', 'ββ ',
\ 'ββ ', 'ββ ', 'βββ', 'βββ', 'βββ',
\ 'βββ', 'βββ', 'βββ', 'βββ', 'βββ'
\ ]
let g:spaceline_scroll_chars = ['βΊ', 'β»', 'β', 'βΌ', 'β½'] " on macOS
let g:spaceline_scroll_chars = ['βΊ', 'β»', 'βΌ', 'β½', 'β―'] " on Linux
Make sure you have installed nerdfont font from https://www.nerdfonts.com/, different fonts may be inconsistent in the performance of symbols. If you are using iTerm2 on macOS, you can set a different font for symbols.
Another solution is to use kitty terminal. Kitty has built-in symbol font support and supports both Mac and Linux.
MIT
Vim Script
100.0%
The best vim statusline plugin.

Plug 'glepnir/spaceline.vim'
" Use the icon plugin for better behavior
Plug 'ryanoasis/vim-devicons' or 'kyazdani42/nvim-web-devicons' --neovim only
arrowlet g:spaceline_seperate_style = 'arrow'
| group | Screen shot |
|---|---|
none | ![]() |
arrow | ![]() |
arrow-fade | ![]() |
curve | ![]() |
slant | ![]() |
slant-fade | ![]() |
slant-cons | ![]() |
space,one, nord, draculalet g:spaceline_colorscheme = 'space'
g:spaceline_custom_vim_status custom vim status display. Default is {"n": "π
","V":"π
₯ ","v":"π
₯ ","\<C-v>": "π
₯ ","i":"π
","R":"π
‘ ","s":"π
’ ","t":"π
£ ","c":"π
","!":"SE"}
g:spaceline_custom_buffer_number custom buffer number display value is list
g:spaceline_diagnostic_tool set your diagnostic plugin. Default is coc, other values are:
nvim_lsp, ale
g:spaceline_diagnostic_errorsign set the error sign. Default is β
g:spaceline_diagnostic_warnsign set the warn sign. Default is β
g:spaceline_diagnostic_oksign set the ok sign. Default is ο‘
g:spaceline_git_branch_icon set the git branch icon default is empty
g:spaceline_custom_diff_icon custom diff icon. Default is
['ο','ο','ο']
g:spaceline_diff_tool set the git diff tool default is coc.
Other values are: git-gutter, which requires the vim-gitgutter plugin;
vim-signify, which requires the vim-signify plugin.
g:spaceline_function_icon set the function icon
g:spaceline_scroll_bar_chars set the scroll bar chars. Some alternatives:
" one char wide solid vertical bar This is default
let g:spaceline_scroll_chars = [
\ ' ', 'β', 'β', 'β', 'β', 'β
', 'β', 'β', 'β'
\ ]
" two char wide fade-in blocks
let g:spaceline_scroll_chars = [
\ ' ', 'β ', 'β ', 'β ', 'β ', 'ββ', 'ββ', 'ββ', 'ββ'
\ ]
" three char wide solid horizontal bar
let g:spaceline_scroll_chars = [
\ ' ', 'β ', 'β ', 'β ', 'β ',
\ 'β ', 'β ', 'β ', 'β ', 'ββ ',
\ 'ββ ', 'ββ ', 'ββ ', 'ββ ', 'ββ ',
\ 'ββ ', 'ββ ', 'βββ', 'βββ', 'βββ',
\ 'βββ', 'βββ', 'βββ', 'βββ', 'βββ'
\ ]
let g:spaceline_scroll_chars = ['βΊ', 'β»', 'β', 'βΌ', 'β½'] " on macOS
let g:spaceline_scroll_chars = ['βΊ', 'β»', 'βΌ', 'β½', 'β―'] " on Linux
Make sure you have installed nerdfont font from https://www.nerdfonts.com/, different fonts may be inconsistent in the performance of symbols. If you are using iTerm2 on macOS, you can set a different font for symbols.
Another solution is to use kitty terminal. Kitty has built-in symbol font support and supports both Mac and Linux.
MIT
Vim Script
100.0%