diff --git a/lua/cosmic/core/editor.lua b/lua/cosmic/core/editor.lua index 8e580bb..9f47d27 100644 --- a/lua/cosmic/core/editor.lua +++ b/lua/cosmic/core/editor.lua @@ -73,7 +73,7 @@ opt.shortmess = opt.shortmess + { c = true } -- perfomance opt.redrawtime = 1500 -opt.timeoutlen = 250 +opt.timeoutlen = 200 opt.ttimeoutlen = 10 opt.updatetime = 100 diff --git a/lua/cosmic/plugins/which-key/init.lua b/lua/cosmic/plugins/which-key/init.lua index bf1f0c3..3e08c92 100644 --- a/lua/cosmic/plugins/which-key/init.lua +++ b/lua/cosmic/plugins/which-key/init.lua @@ -8,6 +8,19 @@ return { -- your configuration comes here -- or leave it empty to use the default settings -- refer to the configuration section below + window = { + border = user_config.border, -- none, single, double, shadow + position = 'bottom', -- bottom, top + margin = { 1, 0, 1, 0 }, -- extra window margin [top, right, bottom, left] + padding = { 3, 2, 3, 2 }, -- extra window padding [top, right, bottom, left] + winblend = 20, + }, + layout = { + height = { min = 4, max = 25 }, -- min and max height of the columns + width = { min = 20, max = 50 }, -- min and max width of the columns + spacing = 8, -- spacing between columns + align = 'center', -- align columns left, center or right + }, }) wk.register({