On Wednesday 31 December 2008, Tony Mechelynck wrote:
> 1. Does
>
> :view $VIMRUNTIME/menu.vim
>
> display a Vim script?
Yes.
> If it doesn't, you have a problem.
Interestingly, if I run gvim as root : => sudo gvim
I get the menubar.
> 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
Thanks Tony. Will play with this soon.
cheers
tim
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---