On Fri 19-Jan-07 12:25pm -0600, kjcdb8er wrote:
> I recently installed gvim 7.0 (self-installing executable
> gvim70.exe) from www.vim.org, and am having a problem with
> the menus; that is, there are none. I ran gvim -N -u NONE
> -U NONE and had the same issue. Any suggestions? Otherwise
> the functionality seems unimpaired, except that tab
> completion (for opening files) is not functioning at this
> point.
>
> Any suggestions?
A little more information would be helpful.
You can see exactly what's happening at startup with:
gvim -u NONE -i NONE -N -V2%temp\vfile "+q"
Now look at what was recorded with:
gvim %temp\vfile
The first few lines should look like this:
sourcing "$VIMRUNTIME\menu.vim"
Searching for "autoload/paste.vim" in
"c:\util\home/vimfiles,C:\vim/vimfiles,C:\vim\vim70,C:\vim/vimfiles/after,c:\util\home/vimfiles/after"
line 150: sourcing "C:\vim\vim70\autoload\paste.vim"
finished sourcing C:\vim\vim70\autoload\paste.vim
continuing in C:\vim\vim70\menu.vim
finished sourcing $VIMRUNTIME\menu.vim
Followed by 40 lines of searching for and not finding 20
different .bmp files.
The menu.vim file is sourced first from $vimruntime. It
sources autoload\paste.vim from 'rtp'. That's all that is
sourced.
Clean up with: del %temp\vfile
You might also look at how important variables are set and
also see what is sourced (in an easier to read form).
Simply copy the lines between the equal sign lines below:
=============================================
sil redir @"
sil ec '------------------------------------'
sil ec '$vim =' $vim
sil ec '$vimruntime =' $vimruntime
sil scrip
sil ec '------------------------------------'
sil redi end
=============================================
Now open gvim with: gvim -u NONE -i NONE -N
and type: :@*<Enter>p (where <Enter> is the Enter key)
You should see something like:
------------------------------------
$vim = C:\vim
$vimruntime = C:\vim\vim70
1: C:\vim\vim70\menu.vim
2: C:\vim\vim70\autoload\paste.vim
------------------------------------
Are you seeing different things?
--
Best regards,
Bill
Running Vim/Gvim 7.0.188 on WinXP SP2