Vim User Menu — a popup menu to hold your precious Vim tricks

by zdharma
CYGWIN_NT ◆ rxvt-unicode-256color ◆ zsh 1474 views

You can have various types of menu entries:

  • type cmds for ex commands, e.g.: :wq,
  • type norm for norm commands, e.g.: \<C-W>n,
  • type keys for feedkeys() argument, e.g.: as in norm,
  • type expr for an expression-code, like: MyFunction().

Example menu definition:

let g:user_menu = [ [ "Open …", #{ type: 'cmds', body: ':Ex' } ]

Homepage: https://github.com/zphere-zsh/vim-user-menu