【1】When I am using prompt of K.M., the process is:
press shortcut for calling up --> show the prompt --> input a text(usually a character) --> pressing enter key means for 'OK' --> FINISH
【2】When I am using prompt of other app, for example, Hammerspoon, the process is:
(Notice that it had already assumed that the prompt would receive a single press for a character)
press shortcut for calling up --> show the prompt --> press a character --> FINISH
Obviously, the process 【2】 is shorter and it is handy for single-hand shortcut/keyboard manipulation.
What I want to do is to create an special version of prompt of K.M. working faster benefiting from process 【2】.
Apologies if I'm missing something, but David Sparks' KM Field Guide recently included this kind of functionality. He suggests intentionally using the conflict palette, and I've found it to be very helpful. There are several ways you can do it, but basically if you give a bunch of things the same shortcut, you just then type the next letter to get the one you want. Two keystrokes.
For example, I have several under SuperMetaKey (Karabiner-hacked Caps Lock)-N. The N stands for "new document" in my mind. So CapsLock-N brings up a conflict palette for Drafts and Obsidian. Which do I want? I hit D for Drafts, O for Obsidian. No [ENTER] key.
I have another one for when I want to write some code. CapsLock-C
Since TextSoap and TextExpander both start with T, I could rename those shortcuts to something unique if it really bugs me, or make a duplicate of those macros with a unique name, or just type the next letter. In this case, it would be a pain because I'd have to type 5 letters to get to something unique. But in those rare cases I just grab the mouse. I should really just call TextSoap "Soap" so the initial letter would be "S".
In these situations, pressing a number key corresponding to an item's place in the palette also works. In that example, 2 would select Text Soap and 3 would select TextExpander.
Thank you for telling me about numeric position. I had been making one of mine ugly by showing numbers. (And if I ever rearranged them I’d have a spot of trouble - with my attempt.)
The technique demonstrated here: https://www.youtube.com/watch?v=Vjn5BmhVF6M using BetterTouchTool gestures and palettes is interesting. The video is in German, but the visuals are very clear. Alexander seems to post on these forums quite regularly.