For “autoread” to work, “checktime” has to be called regularly. One neat way I’ve been suggested to do this is by using this autocommand:
au CursorHold * checktime
Any time I move the cursor, checktime is called.
However, the command-line window (
:<C-f>) is now completely broken. Any time I move the cursor I get an error message:
Is there a better way to run checktime regularly? Is there a different autocommand that is better suited? Can perhaps a timer be used to call it regularly without the use of an autocommand?