vim-menu
is a plugin providing a console interface to Vim's built-in menu.
vim
ornvim
A package manager can be used to install vim-menu
.
Examples
- Vim8 packages:
git clone https://github.com/dstein64/vim-menu ~/.vim/pack/plugins/start/vim-menu
- Vundle:
- Add
Plugin 'dstein64/vim-menu'
to~/.vimrc
:PluginInstall
or$ vim +PluginInstall +qall
- Add
- Pathogen:
git clone --depth=1 https://github.com/dstein64/vim-menu ~/.vim/bundle/vim-menu
- vim-plug:
- Add
Plug 'dstein64/vim-menu'
to~/.vimrc
:PlugInstall
or$ vim +PlugInstall +qall
- Add
- dein.vim:
- Add
call dein#add('dstein64/vim-menu')
to~/.vimrc
:call dein#install()
- Add
- NeoBundle:
- Add
NeoBundle 'dstein64/vim-menu'
to~/.vimrc
- Re-open vim or execute
:source ~/.vimrc
- Add
Vim comes with a default set of menu items. :menu
and :unmenu
can be used
for adding and removing menu items. See :help creating-menus
and
:help delete-menus
for documentation. See vim-menu
's documentation for
details on modifying or disabling the default menus.
Enter vim-menu
with <leader>m
or :Menu
.
- Arrows,
hjkl
keys, and<cr>
are used for selecting and executing menu items. - Number keys can be used to jump to items.
- Press
g
followed by a shortcut key to execute the corresponding item. - Press
K
to show more information for the selected item. - Press
?
to show a help message. - Press
<esc>
to leavevim-menu
.
See :help menu-usage
for additional details.
:help vim-menu
The underlying markup is in menu.txt.
The source code has an MIT License.
See LICENSE.