summaryrefslogtreecommitdiffstats
path: root/after/plugin/whichkey.lua
blob: 66c8a9e254b9d4c60d0e2d3575b98ce10b1aa58f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
local status_ok, whichkey = pcall(require, "which-key")
if not status_ok then
	return
end

whichkey.setup {
  icons = {
    breadcrumb = '>>',
    separator = '->',
  },
  winblend = 0,
  window = {
    border = 'shadow',
    margin = { 1, 5, 2, 5 },
  },
  layout = {
    width = { min = 20, max = 50 },
    align = 'left',
  }
}