-
I'd like to activate a “Tab Switcher Mode” per-app, with |
Beta Was this translation helpful? Give feedback.
Answered by
evan-liu
Dec 5, 2024
Replies: 1 comment 3 replies
-
There is no "best idiomatic way", but here is one option: layer('⇥').manipulators([
withCondition(ifApp('^some.app.id$'))([
// Some special mapping
]),
// Pre/Next tab in most apps, put in the last
{
'←': toKey('[', '⌘⇧'),
'→': toKey(']', '⌘⇧'),
}
]) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ifApp('RegExp')
takes a RegExp string, so you can try to make it match all the apps you want to cover.