Skip to content

Instantly share code, notes, and snippets.

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