pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.21k stars 828 forks source link

Condition for rule when typing in textbox only? #3827

Closed ShouxTech closed 4 weeks ago

ShouxTech commented 1 month ago

Would it be possible to add a condition to Karabiner-Elements to detect when typing in a textbox only?

For example, I want to remap command + left and right arrow keys to alt + arrow keys in order to jump over a word instead of the whole line like ctrl + arrow keys on Windows. I was able to create this, however, command + arrow keys also controls the page history in my browser. Therefore, I would really like a condition to see if the user is typing into a text field so I can only enable my modification when they doing so. Is it possible to add this feature?