nvzone / menu

Menu plugin for neovim ( supports nested menus ) made using volt
GNU General Public License v3.0
392 stars 6 forks source link
lua menu neovim neovim-plugin nvchad

Menu

Menu ui for neovim ( supports nested menus )

image image image

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) 

For keyboard users

Examples

-- mouse users + nvimtree users! vim.keymap.set("n", "", function() vim.cmd.exec '"normal! \"'

local options = vim.bo.ft == "NvimTree" and "nvimtree" or "default" require("menu").open(options, { mouse = true }) end, {})



Check example of [defaults menu](https://github.com/NvChad/menu/blob/main/lua/menus/default.lua) 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

[![kofi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/siduck)
[![paypal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://paypal.me/siduck13)
[![buymeacoffee](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/siduck)
[![patreon](https://img.shields.io/badge/Patreon-F96854?style=for-the-badge&logo=patreon&logoColor=white)](https://www.patreon.com/siduck)