Vim Tips Wiki


Revision as of 22:55, May 29, 2013 by (Talk)

1,614pages on
this wiki

Use this page to discuss script 3641 AtomicSave: save files atomically using ":w"

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.


Bugs for this script should be reported to the author via email.

The email address is available here:

Unfortunately, this script does not preserve permissions and files will lose their executable state (script version 0.9, on Unix based systems). Fixed in 0.9.1
Version 0.9.1 is identical to 0.9.0 on . Script upload error?
Ooops. Guess I uploaded the wrong one. I fixed it. Sorry it took so long, I had no idea. --December 20, 2012‎

This script appears to destroy symlinks on save, it will replace the link with a copy of the file it used to link to. Should at least warn about this on the script page. --March 29, 2013

That's definitely a bug. It should read the link and write to the destination. Hopefully I can be get around to fixing it later today, but no promises. --April 20, 2013

I know nothing of vim scripting, but I added my own hacky workaround that checks the file type and reverts to a regular save if it is a symlink or other non-"file" file. "Works For Me"™ --May 29, 2013


Around Wikia's network

Random Wiki