Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
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
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"™ http://pastebin.com/vmDwhhjX --May 29, 2013
Actually the solution is just to replace calls to expand() with calls to resolve(expand()). I've done that now.