lightline.vimを使ってみた

https://github.com/itchyny/lightline.vim

こんな感じになる

https://yaasita.tumblr.com/post/92242385452

設定

NeoBundle 'itchyny/lightline.vim'
    let g:lightline = {
        \ 'active': { 
        \   'left': [ [ 'mode', 'paste' ],
        \             [ 'readonly', 'filename', 'modified' ],
        \             [ 'fugitive' ]
        \            ],
        \   'right': [ [ 'lineinfo' ],
        \              [ 'percent' ],
        \              [ 'filetype', 'fileencoding', 'fileformat' ] ]
        \   },
        \ 'component': {
        \   'fugitive': '%{exists("*fugitive#statusline()")?fugitive#statusline():""}'
        \   }
        \ }