lightline.vimを使ってみた

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

こんな感じになる

lightline-vim

設定

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():""}'
        \   }
        \ }