Maybe with :simalt?
~Matt
You can't, or at least not by Vim means. Some OSes allows remapping of
keyboard keys (e.g. to switch Ctrl with CapsLock, or CapsLock with Esc)
but that would mean mapping the Alt key to something that Vim can detect
(F10 maybe, or F13 if that means anything), but I suppose it would
disable all Alt-something keychords.
You can trigger the Vim menu by means of the ":emenu" command, even in
Console Vim provided that you've sourced $VIMRUNTIME/menu.vim
Here's the relevant part of in my vimrc:
if 1
runtime! menu.vim
endif
runtime vimrc_example.vim
if has("wildmenu")
set wildmenu wildmode=longest:full,full
else
set wildmode=longest,list:longest,full
endif
set wildcharm=<C-T> " or any key not needed in Command-line mode
if has('menu')
" override Ctrl-Z (minimize) by a text-mode menu
map <C-Z> :emenu <C-T>
imap <C-Z> <C-O>:emenu <C-T>
endif
Best regards,
Tony.
--
Space is big. You just won't believe how vastly, hugely, mind-
bogglingly big it is. I mean, you may think it's a long way down the
road to the drug store, but that's just peanuts to space.
-- "The Hitchhiker's Guide to the Galaxy"
Looks interesting... a few small comments.
If you press "Alt-F" and then "Alt", the menu remains until you start
doing something (I guess there's probably nothing you can do about
this though).
In the documentation
:67s/|&wildcharm|/'wildcharm'/
:86s/shemenu/shymenu/
Al