summary refs log tree commit diff
path: root/.config/nvim/lua/plugins/whichkey.lua
blob: 442b43f25364d33fd59aaad4d7bd5e17b61f94fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
return {
  {
    enabled = true,
    'folke/which-key.nvim',
    event = 'VeryLazy',
    opts = {
      icons = { separator = '→ ', group = ' +' },
    },
    keys = {
      {
        '<leader>?',
        function()
          require('which-key').show({ global = true })
        end,
        desc = 'which-key: show buffer local keymaps',
      },
    },
  },
}