| Summary: | Add the ability to set vim or Emacs-like keyboard shortcuts for Klipper navigation | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | G360 <kde-bugs.9ek5t> |
| Component: | Clipboard widget & pop-up | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | wishlist | CC: | f-kde, john.kizer, kde, kdedev, noahadvs |
| Priority: | NOR | ||
| Version First Reported In: | 5.15.3 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
G360
2020-02-28 23:48:25 UTC
Adding support in just klipper doesn't make a lot of sense. You may find systemsettings -> standard shortcuts will cover your needs Thanks @David. I did set the Standard Shortcuts for "Next Item in List" —which has primary shortcut set as "Down"— on the Alternative option to Ctrl+j, but unfortunately this behaves as having no effect. The same with "Previews Item in List". This does not only happen on Klipper but is also reproducible on other programs like Gweenview, Up/Down keys work, but not Ctrl-j/k. The shortcut customization doesn't work because plasma-workspace/applets/clipboard/contents/ui/ClipboardPage.qml doesn't try to use KStandardShortcuts. The reason why is that KStandardShortcuts is not available for QML. We should either try to make upstream equivalent shortcuts for QKeySequence::StandardKey so that our platform theme can set them appropriately or make KStandardShortcuts available to QML directly. FYI. Fcitx5 has a similar clipboard history functionality (Ctrl+; by default), and an item in the history can be selected with a number key (1, 2, ... or 9). I love it. Noah, is this still worth considering? |