albertlauncher / albertlauncher/albert-plugin-widgetsboxmodel
Make modifiers custimizeable
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Summary
When I want to select an alternative action, I hold the alt key and press up/down and then enter.
To press up/down, I have to move my right hand (on a traditional keyboard) or (with Neo keyboard layout) press a second modifier key plus the direction key. This is not optimal yet.
Suggestion:
Make
- alt-j and alt-n behave like alt-down and
- alt-k and alt-p like alt-up.
j and k are the down/up arrow keys in Vim, pagers like less, Google Calendar, and many other programs. n and p (for next and previous) are also used as shortcuts in many programs.
Would you accept a PR for this?
It would be great to just press alt-{j,j,enter}.
Notes
I also thought about different solutions that don't require to hold the alt key or press the arrow keys. But I came to the result, that it's already pretty good as it is. alt is a nice mnemonic for "alternative action".
- alt-tab is reserved on most desktops.
- For ctrl-tab I have to move my hands.
- Pressing alt to toggle the visibility of the alternative action list is another idea.
- alt-{1..n} to directly select an alternative action...
Everything else I can think of is probably less intuitive.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not identify a file, test, or entry point. Start by locating keyboard handling for alternative-action selection in the Qt Widgets frontend, then verify that Alt-J/Alt-N select the same action as Alt-Down and Alt-K/Alt-P as Alt-Up, including the existing Enter flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100