Skip to content

ubmarco/spaceline.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

spaceline.vim

Vim Statusline Like Emacs Spaceline from ThinkVim

The colorscheme of this image is oceanic_material

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
  • middle color of spaceline will match your colorscheme background color (now only default colorscheme space support)

Install

  • Easy installed with a plugin manager like vim-plug
Plug 'hardcoreplayers/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 none-normal
    arrow arrow
    arrow-fade arrow-fade-normal
    curve curve
    slant slant
    slant-fade slant-fade-normal
    slant-cons slant-cons
  • 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'

Goyo Support

  • check the thinkvim usage

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

About

vim statusline like spacemacs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%