On 2011-08-23, sealtrip wrote:
> Thanks for your reply, 
> 
> It was originally there when I installed gvim, it was helpful to learning the
> shortcuts. For some reason it was removed when either I upgraded to ubuntu
> 11.04 from 10.10 or when I installed vim plug-ins such as nerdtree, tcomment,
> snipmate and surround
> 
> After that the command next to the menu disappeared. I did try to re-install 
> it
> after removing the .vimrc and .gvim counterpart.

What do you mean by "the command next to _the_ menu disappeared"?
On my gvim 7.3.189 I have eight menus:

    File
    Edit
    Tools
    Syntax
    Buffers
    Window
    DrChip
    Help

The File, Edit, Tools and Window menus included the keyboard
commands, the others do not.

The :scriptnames command shows that the main menus come from
$VIMRUNTIME/menu.vim.  Opening that file and searching for "Edit"
shows these lines

    " Edit menu
    an 20.310 &Edit.&Undo<Tab>u                     u
    an 20.320 &Edit.&Redo<Tab>^R                    <C-R>
    an 20.330 &Edit.Rep&eat<Tab>\.                  .

You can see that the keyboard commands are embedded in the "an"
commands the define each menu item.

> What I do know is: I absolutely sure it is available.
> What I do not not know is: how to get it back, or if perhaps it doesn't work
> under ubuntu 11.04

Take a look at your $VIMRUNTIME/menu.vim file and see if the
keyboard commands are there as in the Edit menu above.  The folks at
Canonical may have removed them.

> I have tried to google but I am limitted to what I am googling for, so any
> additional information, thoughts and pointers are appreciated.

HTH,
Gary

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to