A Karabiner config to remap input language switch hotkey to Alt+Shift.
The default hotkey combination (Ctrl+Space) is nice, however it conflicts with suggestion hotkey at VS Code. To fix this, I decided to remap language switching to Alt+Shift, but macOS doesn't support that out of the box, and, long story short, I ended up with this setup.
I haven't been able to come up with a better hotkey for suggestion prompt, and I'm switching platforms (to Linux and Windows) a lot. This solution works better than any alternatives I've tried.
Because Apple can't simply make the Globe key switch inputs. It shows some slow UI, using which is a terrible experience.
-
Install Karabiner.
-
Copy
shift-alt.json
andfn.json
to the~/.config/karabiner/assets/complex_modifications/
.cp *.json ~/.config/karabiner/assets/complex_modifications/
-
Start Karabiner and enable the config.
-
Go to the system input settings of the macOS and rebind the input switch to whatever pressing the
Alt+Shift
or theGlobe/Fn
key emit.