From vimdoc:

> 
> 
> ```
> :checkt[ime]            Check if any buffers were changed outside of Vim.
>                         This checks and warns you if you would end up with two
>                         versions of a file.
>                         If this is called from an autocommand, a ":global"
>                         command or is not typed the actual check is postponed
>                         until a moment the side effects (reloading the file)
>                         would be harmless.
> 
> ```
> 
> 

How can I use it from an autocmd without delay?

EDIT
====

I somtimes use vim and an IDE to edit the same file, and I want to changes in one of them to be loaded into the other automatically.

Here is a possible solution:

```
autocmd CursorHold * checktime
function! Timer()
  call feedkeys("f\e")
  " K_IGNORE keycode does not work after version 7.2.025)
  " there are numerous other keysequences that you can use
endfunction

```

But since checktime will be delayed, the effect may not be satisfactory.