aboutsummaryrefslogtreecommitdiff
path: root/lua/config/which-key.lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-10-07 23:37:35 +0800
committerjdhao <jdhao@hotmail.com>2021-10-07 23:37:35 +0800
commit96898255a0ffa606ac3e482fbe5edffc93c869fb (patch)
treebdeebfa2cbd8553c2e3c8075d13d20d0aadc643e /lua/config/which-key.lua
parentc0f59bde8d94899e5a826131d4cc946e4a649909 (diff)
add which-key.nvim
Diffstat (limited to 'lua/config/which-key.lua')
-rw-r--r--lua/config/which-key.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/config/which-key.lua b/lua/config/which-key.lua
new file mode 100644
index 0000000..ffb813a
--- /dev/null
+++ b/lua/config/which-key.lua
@@ -0,0 +1,8 @@
+require("which-key").setup{
+ triggers_blacklist = {
+ -- list of mode / prefixes that should never be hooked by WhichKey
+ -- this is mostly relevant for key maps that start with a native binding
+ -- most people should not need to change this
+ n = { "o", },
+ },
+}