Add autocmd WinEnter.

This commit is contained in:
manga_osyo
2015-04-17 10:50:41 +09:00
parent da3c0c1691
commit 952593481c

View File

@@ -39,8 +39,10 @@ command! -bar BrightestToggle if g:brightest_enable | BrightestDisable | else |
augroup brightest
autocmd!
autocmd CursorMoved * call brightest#on_CursorMoved()
autocmd WinEnter * call brightest#on_CursorMoved()
autocmd CursorHold * call brightest#on_CursorHold()
autocmd BufLeave,WinLeave * call brightest#hl_clear()
autocmd WinLeave * call brightest#hl_clear()
" autocmd BufLeave,WinLeave * call brightest#hl_clear()
autocmd ColorScheme * call s:init_hl()
autocmd CursorMovedI *