aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-10-17 07:50:38 +0800
committerjdhao <jdhao@hotmail.com>2021-10-17 07:50:38 +0800
commitb6488d44c168d0235cc16bb18c76ed250d54026d (patch)
tree28b125c3455b79dc00a80a95ad69412cdfc632fe /lua
parent083e9ba5d76caca871e7f0dfaf5d43037e71d178 (diff)
which-key conf
Diffstat (limited to 'lua')
-rw-r--r--lua/config/which-key.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/config/which-key.lua b/lua/config/which-key.lua
index 78c1314..11e4c63 100644
--- a/lua/config/which-key.lua
+++ b/lua/config/which-key.lua
@@ -40,10 +40,10 @@ require("which-key").setup({
padding = { 1, 0, 1, 0 }, -- extra window padding [top, right, bottom, left]
},
layout = {
- height = { min = 4, max = 25 }, -- min and max height of the columns
+ height = { min = 1, max = 25 }, -- min and max height of the columns
width = { min = 20, max = 50 }, -- min and max width of the columns
- spacing = 2, -- spacing between columns
- align = "left", -- align columns left, center or right
+ spacing = 1, -- spacing between columns
+ align = "center", -- align columns left, center or right
},
ignore_missing = false, -- enable this to hide mappings for which you didn't specify a label
hidden = { "<silent>", "<cmd>", "<Cmd>", "<CR>", "call", "lua", "^:", "^ "}, -- hide mapping boilerplate