Would it be possible to extend Agent’s “Jump to macro” functionality with a “Jump to Key” list in the main macro pane?
When choosing a macro from Agent’s left panel, it would be nice to populate a list of links to keys assigned to that macro. Something similar to the “Back to Keymap” link that appears when navigating to a macro via the Keymap’s “Jump to macro” button.
Let’s say for some really dumb reason, I have six instances of powerMode toggle lock. I really don’t want to hunt each one down to clean up my config. Having “Jump to key” links would make navigation and cleanup sooo much easier.
Yes, very much appreciate this functionality. I sometimes can’t remember where I mapped a macro to. Agent shows me it’s on 5 keys, but I have to hunt through all my keymaps and layers to find them. Awkward!
Thanks, this seems useful! The positioning of the suggested text seems optimal, but I’d change it to:
This macro is present on QWERTY for PC, base layer, Doom, fn layer, …
When clicking on one such link, Agent would open the relevant layer of the keymap and blink the key several times. Or should it rather open the key action popover to edit the action?
It is obvious that the right side of the screen refers to this macro as it is already showing this macro. So we don’t need to say “This macro is present on…”, but just “Used in:”.
I like the suggestion to indicate keymap and layer.
So we get:
Used in:
QWERTY for PC → fn → A
QWERTY for PC → mod → B
When clicking on the A or B, the action selection for that key should open. (I think you called it the pop-over.)
We can discuss if clicking anywhere on that line should open the action selection for that key, or if each part should link to the corresponding thing, i.e. clicking on QWERTY for PC should just open the base layer of that keymap, and clicking on fn or mod should just open that layer, but not the action selection.
I like your suggestions, although I’m unsure about referencing keys because it depends on the layout, which may not be relevant to the user, even though QWERTY is the standard.
I’d make the whole link clickable as one entity, but I’m unsure whether it should blink the key or open the popover.
Wow, I finally had an idea that wasn’t idiotic! Laziness really is the best motivator.
If you’ve chosen to navigate to the key, then you’re likely planning on disabling it, or making changes to that key action, so linking directly to the key action popover is probably the best move. And from there, you’d only need a click or two to go back out to the desired layer, so I don’t think the separate links is necessary.
This may be a bit of a stretch, but what about giving all the keys static hardware IDs, similar to the SWxx numbers printed on the PCB? That could also be useful for clearly communicating specific key issues to the devs in some situations, especially for those using non-QWERTY layouts.
You could display a numeric switchId in the Keymap view, or at least in the key action popover. There’s probably enough room in the upper corner of each key label, or maybe a tooltip on hover?
Maybe the Keyabbrev should be displayed somewhere on this pop-over?
The pop-over already hints with the little notch and the colour on which key it is configured. IMHO, this is absolutely enough - no blinking required, and the indication will tell the user which key has the macro action.
Thanks for that. I knew there had to be something static to ID them, I just didn’t know where.
There really should be an easy way to note exact key locations for users (like myself) who don’t know their way around GitHub. The popover seems like a good place for that.