CursorHold is suppsed to be triggered in normal mode
after &updatetime, correct ? But in the scenario below,
when vim gets into normal mode after insert mode,
CursorHold is not triggered:

1. vim -u NONE -U NONE
2. :let x=0
3. :let ut=200            " just some low value
3. :au CursorHold * let x=x+1 | echo x
4. <C-E><C-E><C-E>  -- watch CursorHold working
5. ii<esc>  wait .... there's not CursorHold
   ii<esc>  wait .... there's not CursorHold
   ii<esc>  wait .... there's not CursorHold

Why ? Bug or feature ?

Yakov

Reply via email to