Vim Tips Wiki
Register
Advertisement

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 vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Bugs

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

The email address is available here: http://www.vim.org/account/profile.php?user_id=32777


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 http://www.vim.org/scripts/script.php?script_id=3641 . 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

Comments

Advertisement