Sanchayan Maity
3c3558b3d0
This reverts commit 86de71d5da
.
This plugin seems to create problems for things that should work. For
example, trying to paste with 'p' triggers which-key when it should not.
Disabling everything in setup except for Leader prefixed keys does not
work either.
7 lines
261 B
Lua
7 lines
261 B
Lua
local remap = vim.api.nvim_set_keymap
|
|
|
|
vim.g.which_key_use_floating_win = 1
|
|
|
|
remap('n', '<Leader>', ':<C-U>WhichKey \'<Space>\'<CR>', { noremap = true, silent = true })
|
|
remap('n', '<LocalLeader>', ':<C-U>WhichKey \',\'<CR>', { noremap = true, silent = true })
|