Selecting "Startup Settings" from the Edit menu opens local
Status: Beta
Brought to you by:
portablegvim
When I what to change the settings using the "Startup Settings" item from the GUI Edit menu, GVIM supposes to find this file on my User home (C:\Documents and Settings\<user-directory>\) and with the original name "_vimrc". I think this is because of this funktion in "menu.vim" which must be overriden somewhere to accept the vimrc file on the portable drive:
fun! s:EditVimrc()
if $MYVIMRC != ''
let fname = "$MYVIMRC"
elseif has("win32") || has("dos32") || has("dos16") || has("os2")
if $HOME != ''
let fname = "$HOME/_vimrc"
else
let fname = "$VIM/_vimrc"
endif
elseif has("amiga")
let fname = "s:.vimrc"
else
let fname = "$HOME/.vimrc"
endif
if &mod
exe "split " . fname
else
exe "edit " . fname
endif
endfun