2

I'm curious to see if there are any plugins that create a menu inside vim (not gVim). Perhaps something simple like a menu bar at the top, with drop down menus that are drawn with text.

EDIT: The focus here is a menu system that behaves like the menu system in gVim, but inside console vim. So in other words, a drop down menu system that you can click on, and submenus (if any) open to the right in a new drop down.

trusktr
  • 4,035
  • 7
  • 29
  • 34
  • 1
    duplicate of http://unix.stackexchange.com/questions/43526/is-it-possible-to-create-and-use-menus-in-terminal-based-vim – msw Aug 21 '13 at 21:03

1 Answers1

1

You can use the :emenu command (with <Tab> to complete) to access the defined menu items from the command line.

If you want to access plugin functionality, there usually are also mappings or custom commands. Using or trying to emulate a traditional menu is frowned upon in console Vim.

Ingo Karkat
  • 11,664
  • 1
  • 34
  • 48
  • 1
    It may be frowned upon to have menus in vim, but a good menu system would help people learn by showing the exact keystrokes required next to each menu item, I believe. Just like how in gVim it shows you the keystrokes; that's helpful in learning vim. Plus, a new user may not be a vim ninja, but at least he has the powers of vim, despite the fact that he uses a GUI menu. You have to admit, although vim has a gui menu system (which you don't have to use), it's still better than having any other text editor, even for users who use the menu. – trusktr Apr 09 '13 at 01:03
  • The the mere fact that the user is using vim (despite if it has a gui window) allows him/her to start learning jedi programming tricks, unlike other editors with a gui. – trusktr Apr 09 '13 at 01:03
  • Vim has a good menu system: use GVIM; with its toolbar, context menu, and better highlighting it's more suitable for beginners who might need such "training wheels", anyway. – Ingo Karkat Apr 09 '13 at 06:31