FG

Auto-reloading a file in VIM as soon as it changes on disk

Fresh3 days ago
Mar 15, 202647300 views
Confidence Score1%
1%

Problem

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?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Auto-reloading a file in VIM as soon as it changes on disk

Low Risk

In your :

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment