Skip to content

[FEATURE] Add number shortcuts (1-9) for quick item selection #188

Description

@wrobelda

🚀 Feature Description

After pulling up the popup, it should be possible to quickly choose an item from the list using a number designated to each of the items shown.

💡 Motivation

This is also the feature I commonly found in apps of this sort on other platforms. It allows to almost instantaneous selection of an item from the list without having to use mouse, keyboard arrows or the filter.

📝 Proposed Solution

Considering all keyboard presses are now immediately sent to a filter out the list, I imagine number would need to be used with modifier. E.g., I currently have Meta-V configured as a shortcut, thus Meta-1 to Meta-5 could be used to choose a corresponding item from the list without releasing the Meta key. I.e. the workflow would be:

  1. press Meta-V
  2. keep Meta pressed
  3. numeric shortcut is shown next to each item as long as Meta key is pressed
  4. press a number key on keyboard
  5. selected item is inserted

🔄 Alternatives Considered

Filtering and keyboard arrows use is the next fastest way to access the entries

✅ Checklist

  • I have searched existing issues to make sure this isn't a duplicate
  • I have considered if this aligns with the project's goals (Windows 11-style clipboard manager)
  • I am willing to help implement this feature (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions