[Bug] Custom keymaps prefixed with <localleader>
aren't available immediately after opening diffview
#564
Labels
bug
Something isn't working
Uh oh!
There was an error while loading. Please reload this page.
Description
I have a following Lazy.nvim config for Diffview:
Config
(full config here, minimal config below)
When I do
:DiffviewOpen
, I expect the<localleader>xo
etc keymaps to be available. However, which-key doesn't show them when I press<localleader>
, and pressing<localleader>xo
doesn't do anything.<tab>
and<s-tab>
keymaps are working though. If I then<c-w>h
to the diffview sidebar and then<c-w>l
back to the file diff, the keymaps become available.Expected behavior
<localleader>
-prefixed keymaps are available immediately after opening file diff via:DiffviewOpen
Actual behavior
<localleader>
-prefixed keymaps only become available after switching to the sidebar and then back to file diffSteps to reproduce
:DiffviewOpen
<localleader>
-prefixed keymapHealth check
Output of
:checkhealth diffview
Log info
Relevant info from
:DiffviewLog
Neovim version
I think this was the case with stable Neovim too, lmk if you can't reproduce this on stable, I'll try to roll back and reproduce.
Operating system and version
Linux 6.8.0-55-generic x86_64 GNU/Linux
Minimal config
The text was updated successfully, but these errors were encountered: