diff --git a/nvim/lua/settings/lazy/plugins/which-key.lua b/nvim/lua/settings/lazy/plugins/which-key.lua index e65535b..71b2c74 100644 --- a/nvim/lua/settings/lazy/plugins/which-key.lua +++ b/nvim/lua/settings/lazy/plugins/which-key.lua @@ -5,4 +5,32 @@ return { vim.o.timeout = true vim.o.timeoutlen = 0 end, + config = function() + require("which-key").register({ + [""] = { + ":write", + "Persist the content of the current buffer to the file system" + }, + [""] = { + ":quitall", + "Quit the editor with confirmation" + }, + [""] = { + "h", + "Move to the window on the left" + }, + [""] = { + "l", + "Move to the window on the right" + }, + [""] = { + "k", + "Move to the window on the top" + }, + [""] = { + "j", + "Move to the window on the bottom" + } + }) + end }