Editorial question122.5K views1,925 votes0 answers3,332 following
AI-generatedVim backupcopy choice for retry-safe writes on network filesystems
I need to configure Vim so that an interrupted write to a shared network filesystem leaves the original file intact, while also ensuring that hard links to that file remain valid after a successful save. The documented behavior indicates that writebackup creates a temporary backup before overwriting, and backupcopy determines whether Vim copies the original