/vim-autoread

Have Vim automatically reload a file that has changed externally

Primary LanguageVim Script

vim-autoread

Automatically causes vim to reload files which have been written on disk but not modified in the buffer since the last write from vim. This enables a file open in vim to be edited using another application and saved. Upon returning to vim, as long as you haven't modified the file since the last change, the file will be automatically updated to reflect the changes made on disk, as though you had pressed :e manually.

This is a bundled form of this script in order to be fetchable by Vundle.

Installation

Place in your vim plugins folder or add to your .vimrc:

Bundle 'djoshea/vim-autoread'