diff --git a/autoload/tmux_focus_events.vim b/autoload/tmux_focus_events.vim index 9147b3a..d237874 100644 --- a/autoload/tmux_focus_events.vim +++ b/autoload/tmux_focus_events.vim @@ -12,6 +12,7 @@ function! s:cursor_in_cmd_line() endfunction function! s:delayed_checktime() + redraw! try silent checktime " clearing out 'emergency' events, if the checktime succeeded @@ -32,7 +33,7 @@ function! tmux_focus_events#focus_gained() augroup focus_gained_checktime au! " perform checktime ASAP when outside cmd line - au * * call delayed_checktime() + au CmdLineEnter,CmdLineChanged * call delayed_checktime() augroup END else silent checktime