which-key.nvim icon indicating copy to clipboard operation
which-key.nvim copied to clipboard

feat: support opts.replace_keycodes for keymap

Open MunifTanjim opened this issue 3 years ago • 0 comments

My luasnip keymaps were broken after starting to use which-key.nvim. This fixes it.

Kept the default vim.keymap.set behavior:

https://github.com/neovim/neovim/blob/a0e6e767a617d79983ac4982850dee6d95ed5b56/runtime/lua/vim/keymap.lua#L42

https://github.com/neovim/neovim/blob/a0e6e767a617d79983ac4982850dee6d95ed5b56/runtime/lua/vim/keymap.lua#L63-L65

MunifTanjim avatar Sep 20 '22 06:09 MunifTanjim