Skip to content
This repository was archived by the owner on Aug 23, 2025. It is now read-only.
This repository was archived by the owner on Aug 23, 2025. It is now read-only.

Feature request: preserve prefix argument for :bind-keymap #1075

@Walheimat

Description

@Walheimat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions