summaryrefslogtreecommitdiff
path: root/lua/lv-which-key/config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lv-which-key/config.lua')
-rw-r--r--lua/lv-which-key/config.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/lv-which-key/config.lua b/lua/lv-which-key/config.lua
index f16491c5..a0a51e3c 100644
--- a/lua/lv-which-key/config.lua
+++ b/lua/lv-which-key/config.lua
@@ -36,6 +36,15 @@ O.plugin.which_key = {
hidden = { "<silent>", "<cmd>", "<Cmd>", "<CR>", "call", "lua", "^:", "^ " }, -- hide mapping boilerplate
show_help = true, -- show help message on the command line when the popup is visible
},
+
+ opts = {
+ mode = "n", -- NORMAL mode
+ prefix = "<leader>",
+ buffer = nil, -- Global mappings. Specify a buffer number for buffer local mappings
+ silent = true, -- use `silent` when creating keymaps
+ noremap = true, -- use `noremap` when creating keymaps
+ nowait = true, -- use `nowait` when creating keymaps
+ },
mappings = {
["w"] = "Save",
["q"] = "Quit",