aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/editor/neovim/plugins/config/which-key.lua
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-03-17 23:53:38 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-03-17 23:53:38 +0530
commit70b590bf6b83dcb8f142451951a0f54ec3308283 (patch)
tree4a3cd72e55f2561753f23319074ac75acae07efb /modules/tools/editor/neovim/plugins/config/which-key.lua
parent91a99d458ddb165c1f200f1dfb9e0a400ea21c40 (diff)
downloadhome-manager-config-70b590bf6b83dcb8f142451951a0f54ec3308283.tar.gz
home-manager-config-70b590bf6b83dcb8f142451951a0f54ec3308283.zip
Using nvim-ufo to have better folding for code blocks.
Diffstat (limited to 'modules/tools/editor/neovim/plugins/config/which-key.lua')
-rw-r--r--modules/tools/editor/neovim/plugins/config/which-key.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/tools/editor/neovim/plugins/config/which-key.lua b/modules/tools/editor/neovim/plugins/config/which-key.lua
new file mode 100644
index 0000000..1290432
--- /dev/null
+++ b/modules/tools/editor/neovim/plugins/config/which-key.lua
@@ -0,0 +1,5 @@
+local wk = require("which-key");
+
+vim.keymap.set("n", "<leader>h", function()
+ wk.show({ global = true })
+end, { silent = true });