Closed happenslol closed 3 months ago
You can try it like that, but it is not possible to remap the character "\"" to "'".
keys = {
{ "'", "\"", desc = "keyremap", mode = { "n", "v" }, remap = true },}
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Not stale, still relevant
I can still not get this to work, neither by just remapping nor by applying the following fix:
local registers_mappings = require("which-key.plugins.registers").mappings
table.insert(registers_mappings, { "'", mode = { "n", "x" }, desc = "registers" })
Am I missing something here?
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.9.4
Operating system/version
NixOS 23.11.20231024.8efd5d1
Describe the bug
I've remapped my registers key to
'
, and I can't get which-key to trigger when pressing it.I've already looked at #483, where the following was suggested:
This does not do anything for me. I've included this as a step in the reproduction below.
Steps To Reproduce
'
Expected Behavior
The registers which-key window should show, but nothing happens. The window still shows when pressing
"
.Repro
No response