Ian Kelling wrote:
> It seems by default, vim overwrites windows symlinks with a copy of > the file on save. This is instead of following the symlink and writing > to the correct location. > > I have some setting in my .vimrc (not sure which one) that slightly > alters this behavior. It writes to the symlinked location, but makes > the file read-only, and then opening the file again in a new vim > instance, and doing wq! destroys the symlink again like in the first > case. For reference, this is for symlinks made in cmd.exe with "mklink > target source" > > Any ideas about this? If there is no workaround, any suggestions on > where to look in the code to make a fix? How do you create such a symbolic link? What version of Vim are you using? A Cygwin version perhaps? -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~ /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
