On 31/12/08 03:24, Tim Johnson wrote:
> On Tuesday 30 December 2008, Tim Johnson wrote:
>> Just restarted my computer. Menu is gone in (g)vim :-(
>>
>> :set quioptions => guioptions=aegirLtm
>>
>> To restore toolbar
>>
>> :set guioptions+=T
>>
>> works
>> but
>>
>> :set guioptions+=m
>>
>> does not restore menu " cuz it is there already!
>> Don't have a clue, need some help ...
>>
>> I'm using ver 7.10 on linux ubuntu 7.10 - huge version
> P.S. - to be more specific - ver 7.1.56, and if I run
> with noplugin switch, same problem.
1. Does
:view $VIMRUNTIME/menu.vim
display a Vim script? If it doesn't, you have a problem.
2. You are running gvim aren't you? The following will give you menus
even in Console Vim ("normal" or bigger version) when you hit Ctrl-Z:
if has('wildmenu')
set wildmenu
if has('menu')
if !has('gui_running')
runtime! menu.vim
endif
" override Ctrl-Z (minimize) by a text-mode menu
" we can still use :suspend for the original meaning
" of the key
set wildcharm=<C-T>
map <C-Z> :emenu <C-T>
imap <C-Z> <C-O>:emenu <C-T>
endif
endif
$VIMRUNTIME/menu.vim is of course still required.
Best regards,
Tony.
--
The question is: What do you do with your life?
The wrong answer is: Be the richest guy in the graveyard.
(billionaire and Oracle founder Larry Ellison)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---