From 7d2ab40f2f541411ecf021f04788a9b492ba72b3 Mon Sep 17 00:00:00 2001 From: BirdeeHub Date: Mon, 15 Apr 2024 00:05:53 -0700 Subject: [PATCH] disabled problematic which-key features --- init.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 496f45b8..e5385ffa 100644 --- a/init.lua +++ b/init.lua @@ -277,7 +277,19 @@ require('lazy').setup({ 'folke/which-key.nvim', event = 'VimEnter', -- Sets the loading event to 'VimEnter' config = function() -- This is the function that runs, AFTER loading - require('which-key').setup() + require('which-key').setup({ + -- some features of which key prevent normal functioning of the key + -- this is a bug, so we will disable the problematic features. + -- which-key is very useful for those new to vim motions, so it is still included. + plugins = { + -- this will currently prevent the " keybind from working in normal mode. + registers = false, -- shows your registers on " in NORMAL or in INSERT mode + presets = { + -- this will currently prevent the keybinds from working in normal mode. + windows = false, -- default bindings on + }, + }, + }) -- Document existing key chains require('which-key').register {