Skip to content

Instantly share code, notes, and snippets.

@hecomi
Created September 15, 2013 08:02
Show Gist options
  • Save hecomi/6568789 to your computer and use it in GitHub Desktop.
Save hecomi/6568789 to your computer and use it in GitHub Desktop.
if !exists('g:lightline')
let g:lightline = {
\ 'colorscheme': 'tsubakumi',
\ 'active' : {
\ 'left' : [
\ [ 'mode' ],
\ [ 'paste', 'fugitive', 'filename', 'gitgutter', 'quickrun' ],
\ ],
\ 'right' : [
\ [ 'percent' ],
\ [ 'lineinfo' ],
\ [ 'fileformat', 'fileencoding', 'filetype' ]
\ ]
\ },
\ 'separator' : {
\ 'left' : '⮀',
\ 'right' : '⮂'
\ },
\ 'subseparator' : {
\ 'left' : '⮁',
\ 'right' : '⮃'
\ },
\ 'component' : {
\ 'lineinfo' : '⭡ %3l:%-1v',
\ 'percent' : '%2p%%',
\ },
\ 'component_function' : {
\ 'fugitive' : 'MyFugitive',
\ 'filename' : 'MyFilename',
\ 'fileformat' : 'MyFileformat',
\ 'filetype' : 'MyFiletype',
\ 'fileencoding' : 'MyFileencoding',
\ 'gitgutter' : 'MyGitGutter',
\ 'quickrun' : 'MyQuickrun',
\ 'mode' : 'MyMode',
\ }
\ }
else
call lightline#update()
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment