Comment #18 on issue 28 by [email protected]: out of the box, gVim 7.3.46 for Win32 cannot write swap files on Windows 7
https://code.google.com/p/vim/issues/detail?id=28

I also found a solution that seems to work for all of the windows 7 gvim74 utilities.

In the C:\Program Files (x86)\Vim\vim74\mswin.vim file I inserted this command after the " Last change: 2012 Jul 25
(line 5)
set directory+=%TEMP%

Now when I open gvim as any user, :set directory? shows

  directory=.,c:\tmp,c:\temp,~\AppData\Local\Temp

which is writable, and does not ignore my "start in" settings for the icon when opened from the desktop or the start menu. I still modify the "start in" shortcut attribute to %HOMEDRIVE%%HOMEPATH%, just so I am not in c:\windows\system32 when opening a new document.

The downside, is remembering this setting until a writable directory is the default installer setting for gVim.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui