You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple's Spotlight feature does not register as 'frontmost application'
Whatever is the 'frontmost application' at the time of a spotlight window opening remains the active 'frontmost application'
Examples
Showing EventViewer not responding to Spotlight
Showing EventViewer tracking Finder as frontmost application before opening spotlight
Showing Event Viewer still tracking Finder as frontmost application with spotlight open again
To Reproduce
Open EventViewer
Open Spotlight with Cmd+Spacebar shortcut
My Goal
I want to map ctrl+n and ctrl+p to my up and down arrows inside of spotlight. So far the best I've come up with is a global mapping with an exception for my terminal programs (Already using those shortcuts for VIM stuff). This works most of the time, unless I open spotlight on top of a terminal window. Terminal (Iterm2, actually) stays active as my frontmost application, disabling my up / down keying within spotlight.
My current config to accomplish this goal
Again, this works unless I try and use the spotlight search on top of a terminal window (which I do often)
When open, Spotlight registers as frontmost application with a unique bundle_identifier that I can use to lock in behavior specific to that spotlight window., e.g.
{
"description": "Use n & p as up and down arrow keys",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"com.apple.Spotlight"
],
"type": "frontmost_application_if"
}
]
...
}
]
},
The text was updated successfully, but these errors were encountered:
Description
Examples
Showing EventViewer not responding to Spotlight
Showing EventViewer tracking Finder as frontmost application before opening spotlight
Showing Event Viewer still tracking Finder as frontmost application with spotlight open again
To Reproduce
My Goal
I want to map
ctrl+n
andctrl+p
to my up and down arrows inside of spotlight. So far the best I've come up with is a global mapping with an exception for my terminal programs (Already using those shortcuts for VIM stuff). This works most of the time, unless I open spotlight on top of a terminal window. Terminal (Iterm2, actually) stays active as my frontmost application, disabling my up / down keying within spotlight.My current config to accomplish this goal
Again, this works unless I try and use the spotlight search on top of a terminal window (which I do often)
Ideal Outcome
The text was updated successfully, but these errors were encountered: