summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/which-key.lua
blob: f6f597b2fa5be58c17493bbee42fef2e8f7a51d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
return {
  "folke/which-key.nvim",
  event = "VeryLazy",
  config = function()
    require("which-key").register({
      ["<leader>t"] = {
        name = "+test",
        w = { name = "+watch" },
      },
      ["<leader>f"] = { name = "+Telescope" },
      ["<leader>d"] = { name = "+debug" },
      ["<leader>x"] = { name = "+Trouble" },
    })
  end,
}