ShortVim, Autoread03 Oct 2011
This should be in everyone’s .vimrc
Automatically updates a file being viewed in vim when it is updated outside of vim.
:help autoread " 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. " When the file has been deleted this is not done. |timestamp| " If this option has a local value, use this command to switch back to " using the global value:
Just add to your .vimrc file