Skip to content
vim statusline like spacemacs
Vim script
Branch: master
Clone or download
Latest commit 7799286 Oct 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload/spaceline update Oct 25, 2019
plugin add coc-explorer support Sep 21, 2019
LICENSE Create LICENSE Jul 2, 2019
README.md add base16_dark colorscheme Oct 12, 2019

README.md

spaceline.vim

Vim Statusline Like Emacs Spaceline from ThinkVim

Feature

  • We have airline, lightline, eleline, why make this plugin? They are great plugins, but they are limited and you can't set more separators.
  • More separator combinations make the status bar look better, and spaceline handles combinations in different situations, very well. The combination of each area is very good in different situations.
  • spaceline is faster than lightline and airline

Install

  • Easy installed with a plugin manager like vim-plug
Plug 'taigacute/spaceline.vim'

Required Plugins

Mode

  • spaceline provide some separator groups, the default group is arrow
let g:spaceline_seperate_style= 'arrow'
  • normal mode

    group ScreenShot
    none image
    arrow image
    arrow-fade image
    curve image
    slant image
    slant-fade image
  • syntaxcheck mode

    group ScreenShot
    none image
    arrow image
    arrow-fade image
    curve image
    slant image
    slant-fade image
  • If you don't like too many symbols in the statusline, just set to 1 (default is 0)

let g:spaceline_line_symbol = 0

Colorscheme

  • Use this setting to change the spaceline colorscheme:
let g:spaceline_colorscheme = 'space'

Custom

  • You can customize every symbol in spaceline. There are some very useful settings, first, you should set the g:seperate_mode to 1
let g:spaceline_seperate_mode = 0
  • Then set seperators by these settings:
        let g:spaceline_homemode_right = ''
        let g:spaceline_filename_left  = ''
        let g:spaceline_filesize_right = ''
        let g:spaceline_gitinfo_left   = ''
        let g:spaceline_gitinfo_right  = ''
        let g:spaceline_cocexts_right  = ''
        let g:spaceline_lineformat_right = ''
        let g:spaceline_seperate_endseperate = ''
        let g:spaceline_seperate_emptyseperate = ''

Thanks

appelgriebsch rafi

Donate

License

MIT

You can’t perform that action at this time.