Define your keymaps, commands, and auto commands as simple Lua tables, building a legend at the same time (like VS Code's Command Palette). A legend for your keymaps, commands, and autocmds, integrates with which-key.nvim, lazy.nvim, and more.

Features

  • Define your keymaps, commands, augroup/autocmds, and even arbitrary Lua functions to run on the fly, as simple Lua tables, then bind them with legendary.nvim
  • Integration with which-key.nvim, use your existing which-key.nvim tables with legendary.nvim
  • Integration with lazy.nvim, automatically load keymaps defined via lazy.nvim's keys property on plugin specs
  • Execute normal, insert, and visual mode keymaps, commands, autocommands, and Lua functions when you select them
  • Show your most recently executed items at the top when triggered via legendary.nvim (can be disabled via config)
  • Uses vim.ui.select() so it can be hooked up to a fuzzy finder using something like dressing.nvim for a VS Code command palette like interface
  • Buffer-local keymaps, commands, functions and autocmds only appear in the finder for the current buffer

Project Samples

Project Activity

See All Activity >