https://github.com/djoshea/vim-autoread
Have Vim automatically reload a file that has changed externally
https://github.com/djoshea/vim-autoread
Last synced: about 2 months ago
JSON representation
Have Vim automatically reload a file that has changed externally
- Host: GitHub
- URL: https://github.com/djoshea/vim-autoread
- Owner: djoshea
- Created: 2014-01-26T23:54:35.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2023-08-08T16:20:02.000Z (over 2 years ago)
- Last Synced: 2024-07-31T22:52:48.787Z (over 1 year ago)
- Language: Vim Script
- Size: 5.86 KB
- Stars: 99
- Watchers: 4
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
- awesome-list - vim-autoread
README
============
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_.
.. _script: http://vim.wikia.com/wiki/Have_Vim_check_automatically_if_the_file_has_changed_externally
.. _Vundle: https://github.com/gmarik/vundle
Installation
============
Place in your vim plugins folder or add to your .vimrc::
Bundle 'djoshea/vim-autoread'