aboutsummaryrefslogtreecommitdiffstats
path: root/neovim/.config/nvim/lua/plugins/which-key.lua
blob: 190d651a908bcba891d5ed1358b0b3981f83e154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- Popup showing available keymaps/groups as you type a prefix like
-- <leader>d or <leader>r, so the debug/run namespaces stay discoverable
-- without memorizing every letter. Auto-discovers each keymap's own `desc`
-- field from dap.lua/overseer.lua/etc - only the group headers need
-- registering here.
return {
  "folke/which-key.nvim",
  event = "VeryLazy",
  opts = {
    spec = {
      { "<leader>d", group = "Debug", icon = "🐞" },
      { "<leader>r", group = "Run", icon = "▶" },
      { "<leader>f", group = "Find" },
      { "<leader>e", group = "Explorer" },
    },
  },
}