I found that the current way the keymaps are being generated do not allow for layered keymaps. For instance with the default keymap for generating summaries (gcs), it gets completely overridden by the insert_code_block keymap from codecompanion. Another instance is where I moved it to a completely blank key (like gg) and I then I tried to map browse summaries to ggf, only gg worked but ggf didn't execute at all. And with which-key I can see that the ggf map isn't appearing in the list of keymaps we can bind to either, only gg is.
And with which-key disabled, the same thing still happens so it's not a which-key issue
I found that the current way the keymaps are being generated do not allow for layered keymaps. For instance with the default keymap for generating summaries (
gcs), it gets completely overridden by theinsert_code_blockkeymap from codecompanion. Another instance is where I moved it to a completely blank key (likegg) and I then I tried to map browse summaries toggf, onlyggworked butggfdidn't execute at all. And with which-key I can see that theggfmap isn't appearing in the list of keymaps we can bind to either, onlyggis.And with which-key disabled, the same thing still happens so it's not a which-key issue