diff --git a/.config/nvim/lua/plugins/which-key.lua b/.config/nvim/lua/plugins/which-key.lua index eb481dd..ca0086d 100644 --- a/.config/nvim/lua/plugins/which-key.lua +++ b/.config/nvim/lua/plugins/which-key.lua @@ -1,10 +1,26 @@ return { - "folke/which-key.nvim", - event = "VeryLazy", + 'folke/which-key.nvim', + event = 'VeryLazy', init = function() vim.o.timeout = true vim.o.timeoutlen = 500 end, opts = { + preset = 'modern', + sort = { 'local', 'order', 'group', 'alphanum', 'mod' }, + notify = true, + win = { + title = true, + title_pos = 'center', + padding = { 2, 3 }, + }, + plugins = { + marks = true, + registers = true, + spelling = { + enabled = true, + suggestions = 20, + }, + }, }, -} +} \ No newline at end of file