use CursorMoved (to update after leaving command line buffer)

This commit is contained in:
itchyny
2013-08-22 04:42:37 +09:00
parent 1a5167d29f
commit b8965f8805
2 changed files with 10 additions and 1 deletions

View File

@@ -3,7 +3,8 @@ set cpo&vim
augroup LightLine
autocmd!
autocmd WinEnter,BufWinEnter,BufUnload,CmdwinEnter,CmdwinLeave,ShellCmdPost * call lightline#update()
autocmd WinEnter,BufWinEnter * call lightline#update()
autocmd CursorMoved,FileType * call lightline#update_once()
autocmd InsertLeave * call lightline#update(1)
autocmd InsertEnter * call lightline#update(0)
augroup END