diff options
Diffstat (limited to 'neovim/.config/nvim/lua/plugins/which-key.lua')
| -rw-r--r-- | neovim/.config/nvim/lua/plugins/which-key.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/neovim/.config/nvim/lua/plugins/which-key.lua b/neovim/.config/nvim/lua/plugins/which-key.lua new file mode 100644 index 0000000..190d651 --- /dev/null +++ b/neovim/.config/nvim/lua/plugins/which-key.lua | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | -- Popup showing available keymaps/groups as you type a prefix like | ||
| 2 | -- <leader>d or <leader>r, so the debug/run namespaces stay discoverable | ||
| 3 | -- without memorizing every letter. Auto-discovers each keymap's own `desc` | ||
| 4 | -- field from dap.lua/overseer.lua/etc - only the group headers need | ||
| 5 | -- registering here. | ||
| 6 | return { | ||
| 7 | "folke/which-key.nvim", | ||
| 8 | event = "VeryLazy", | ||
| 9 | opts = { | ||
| 10 | spec = { | ||
| 11 | { "<leader>d", group = "Debug", icon = "🐞" }, | ||
| 12 | { "<leader>r", group = "Run", icon = "▶" }, | ||
| 13 | { "<leader>f", group = "Find" }, | ||
| 14 | { "<leader>e", group = "Explorer" }, | ||
| 15 | }, | ||
| 16 | }, | ||
| 17 | } | ||
