From 96898255a0ffa606ac3e482fbe5edffc93c869fb Mon Sep 17 00:00:00 2001 From: jdhao Date: Thu, 7 Oct 2021 23:37:35 +0800 Subject: add which-key.nvim --- lua/config/which-key.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lua/config/which-key.lua (limited to 'lua/config/which-key.lua') 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", }, + }, +} -- cgit v1.2.3