how does vim's autoread work

Posted by Viktor on Stack Overflow See other posts from Stack Overflow or by Viktor
Published on 2010-03-22T05:49:32Z Indexed on 2010/03/22 5:51 UTC
Read the original article Hit count: 546

Filed under:
|

Hi,

i'm not sure how vim's set autoread works.

The help says "When a file has been detected to have been changed outside of Vim and it has not been changed inside of Vim, automatically read it again."

So after :set autoread I open a file with vim, I switch to an other editor, change the file, and wait to see the changes in vim as well, nothing happens, I have to say :e to reload the file with the new content.

what did i miss?

I'm on mac, osx 10.5.8, VIM - Vi IMproved 7.2

thx, best Viktor

© Stack Overflow or respective owner

Related posts about vim

Related posts about mac