Maps and menus work in much the same way, and when writing a vim
script (especially an ftplugin) I like to make a menu item corresponding
to each key map that I define.  Unfortunately, there are two ways that
maps and menus differ:

1. There is an :amenu command (and also :anoremenu), but there is no
:amap command (nor :anoremap).

2. I can make buffer-local maps with :map <buffer>, but :menu <buffer>
does not work.

     Both of these shortcomings can be overcome with scripting, but it
would be more convenient and more consistent if :amap and :menu <buffer>
were both implemented.

                                        --Benji Fisher

Reply via email to