Menu gone in gvim (guioptions)

View: New views
9 Messages — Rating Filter:   Alert me  

Menu gone in gvim (guioptions)

by Tim Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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
thanks
tim


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---


Re: Menu gone in gvim (guioptions)

by Tim Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---


Re: Menu gone in gvim (guioptions)

by Tony Mechelynck-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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
-~----------~----~----~----~------~----~------~--~---


Re: Menu gone in gvim (guioptions)

by Tim Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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
-~----------~----~----~----~------~----~------~--~---


Re: Menu gone in gvim (guioptions)

by Tim Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Wednesday 31 December 2008, Tony Mechelynck wrote:
 

> 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
  Installed the above. Just getting the hang of it.
  Back to the original problem:
     FYI: On ubuntu, vim.full which is the origin of
       the vim/gvim symlink has got everything but the kitchen sink compiled
       in - including the ruby, perl, tcl, and python interpreters.

     I had just updated perl as per Adept Notifier. Well, just on a hunch, I
     installed "vim with python support" (vim.python) which has only the  
     python interpeter compiled in, which is all I need actually, and
     adjusted  symlinks so that `vim' or `gvim' loads vim.python and
     I have my menubar back. And vim loads faster.

    Go figure!
    Thanks again Tony
   

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---


Re: Menu gone in gvim (guioptions)

by mmarko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I had the same problem on kubuntu 8.10, gvim 7.1.

The menu reappeared after I deleted ~/.gnome2/Vim.
The file is recreated when gvim is run again, but the
menu is still visible.

Marko



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---


Re: Menu gone in gvim (guioptions)

by Nicolas Aggelidis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


i am sorry, but i didn't understand your issue.

has your menu disappeared and you want it back? or you want it gone
but it keeps reappearing?

best regards,
nicolas

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---


Re: Menu gone in gvim (guioptions)

by mmarko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


The menu disappeared after a regular software update
when a newer version of vim was installed.

To fix it, I deleted ~/.gnome2/Vim.

Marko

On Jan 14, 11:36 am, "Nicolas Aggelidis" <n.aggeli...@...>
wrote:
> i am sorry, but i didn't understand your issue.
>
> has your menu disappeared and you want it back? or you want it gone
> but it keeps reappearing?
>
> best regards,
> nicolas
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---


Re: Menu gone in gvim (guioptions)

by Tim Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Wednesday 14 January 2009, mmarko wrote:
> The menu disappeared after a regular software update
> when a newer version of vim was installed.
>
> To fix it, I deleted ~/.gnome2/Vim.
 To recap my problem ( I believe that I originated this thread),
 the menubar disappeared after perl was updated - I was using
 vim.full, which is vim with all features (including the perl interpreter)
 compiled in.

 I switched to vim.python - which has only python interpreter compiled
 in. I.E. -perl, -ruby, etc.

 and the menubar displayed. Based on mmarko's experience, I deleted
 the Vim file the the ~/.gnome2 folder, with no change to vim.full.
tim



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---