Menu
Menu plugin for neovim ( supports nested menus ) made using volt
Install / Use
/learn @nvzone/MenuREADME
Menu
Menu ui for neovim ( supports nested menus )
https://github.com/user-attachments/assets/89d96170-e039-4d3d-9640-0fdc3358a833
Install
{ "nvzone/volt" , lazy = true },
{ "nvzone/menu" , lazy = true },
Usage
require("menu").open(options, opts)
- options is a table or string, if string then it will look at the table from menus* module of this repo
- opts : { mouse = true, border = false }"
For keyboard users
- Use
hlto move between windows - Use
qto close the window - Press the keybind defined for menu item or scroll to it and press enter, to execute it
Examples
- Keyboard users can run the mapping when inside the menu, mouse users can click.
-- Keyboard users
vim.keymap.set("n", "<C-t>", function()
require("menu").open("default")
end, {})
-- mouse users + nvimtree users!
vim.keymap.set({ "n", "v" }, "<RightMouse>", function()
require('menu.utils').delete_old_menus()
vim.cmd.exec '"normal! \\<RightMouse>"'
-- clicked buf
local buf = vim.api.nvim_win_get_buf(vim.fn.getmousepos().winid)
local options = vim.bo[buf].ft == "NvimTree" and "nvimtree" or "default"
require("menu").open(options, { mouse = true })
end, {})
Check example of defaults menu to see know syntax of options table.
:gift_heart: Support
If you like NvChad or its plugins and would like to support it via donation
Related Skills
openhue
339.1kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
339.1kElevenLabs text-to-speech with mac-style say UX.
weather
339.1kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
