LazyVim / starter

Starter template for LazyVim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to disable a plugin and its key mappings?

ChenZhongPu opened this issue · comments

I would like to disable mini.surround and use vim-surround instead.

I tried to add the following:

{
   "echasnovski/mini.surround",
   enabled = false,
}

But the key mappings hint still shows when I type g:

z -> +surround

How can I also clean the key mappings after disable a plugin?

I find the solution. To remove the mapping in which-key's config.