vim-menu
vim-menu copied to clipboard
A plugin providing a console interface to Vim's built-in menu.
vim-menu
vim-menu is a plugin providing a console interface to Vim's built-in menu.
Requirements
vimornvim
Installation
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 :PluginInstallor$ 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 :PlugInstallor$ 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
Usage
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,
hjklkeys, and<cr>are used for selecting and executing menu items. - Number keys can be used to jump to items.
- Press
gfollowed by a shortcut key to execute the corresponding item. - Press
Kto 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.
Documentation
:help vim-menu
The underlying markup is in menu.txt.
Demo
License
The source code has an MIT License.
See LICENSE.