jwiegley/use-package

Feature request: preserve prefix argument for `:bind-keymap`

Walheimat opened this issue · 0 comments

Hello, I'm not sure if this is possible given the current implementation of :bind-keymap, but it would be really nice if prefix arguments were preserved during autoload.

Currently if one wants to call a command in a keymap of a package yet to be loaded with a prefix argument, it is lost and the command would be run without it.

Maybe the current prefix argument could be passed to use-package-autoload-keymap and handled there? I don't know if it can just be hacked into unread-command-events and "just work" ... but if there is a way that would be really nice.

It's a minor inconvenience but I regularly stumble over it.