Skip to content

Instantly share code, notes, and snippets.

@Genki-S
Created February 8, 2014 23:15
Show Gist options
  • Save Genki-S/8891811 to your computer and use it in GitHub Desktop.
Save Genki-S/8891811 to your computer and use it in GitHub Desktop.
augroup LightLine
autocmd!
autocmd WinEnter,BufWinEnter,FileType,ColorScheme * call lightline#update()
autocmd ColorScheme,SessionLoadPost * call lightline#highlight()
autocmd CursorMoved,BufUnload * call lightline#update_once()
augroup END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment