Assuming that a file doesn't have unsaved changes in the VIM buffer, I'd like it to reload automatically if the file changes on disk. The most frequent use case for this is when I update the working copy in which the file resides.
How can I achieve this?
From superuser
-
In your
~/.vimrc
:set autoread
0 comments:
Post a Comment