I had formerly been using menus in Vim in konsole by triggering them
with Shift-F1; however konsole no longer passes Shift-F1 to the
application running in it. The following (with F10 instead) works,
however, and not only in konsole:

        if has('wildmenu')
                set wildmenu
                if exists('+wildmode')
                        set wildmode=longest:full,full
                endif
                if !has('gui_running')
                        runtime! menu.vim
                        set wildcharm=<C-Z>
                        map <F10> :emenu <C-Z>
                        imap <F10> <C-O>:emenu <C-Z>
                endif
        endif

One advantage of using F10 is that a different mechanism triggers the
menus (from the menubar at top) when hitting F10 (without a mapping)
in the GUI, at least in GTK2.

Best regards,
Tony.

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to