by tincanner · 3y ago · 0 comments
This is off-topic because this thing is about cmd-tab switching instead of typing a couple keys to switch to a particular window, but I just wanted to second the mention for hammerspoon as a "can probably solve your issues with macOS interface" multitool. Since you write in lua (or anything that compiles to lua, like fennel) it's incredibly easy to iterate on.
what i do at the moment, which is fairly fast, is launch Finder and type the first couple letters of the window i want to switch to—99% hit rate.
On my mac, if I'm trying to go to Finder, I get
cmd+space (Spotlight Search)
f F(inder.app)
i Fi(nd My.app)
n Fin(d My.app)
d Find( My.app)
e Finde(r.app)
so quite often I'll see Finder.app show up as the result, but I've already told my fingers to type the 'ind', so there's a race between "type these keys", "see Finder", "type return", and "see Find My".