Custom key mapping for Karabiner-Elements.
If you are looking for a seamless key mapping app for MaxOS, you have to checkout out Karabiner-Elements.
Here is my custom key mapping configuration.
After you install Karabiner-Elements, override ~/.config/karabiner/karabiner.json
with karabiner.json
file in this repository.
This is for changing keyboard language with only right_command or right_option.
right_command
toleft_command + spacebar
right_option
toleft_command + spacebar
If your Mac's default language-switching function is mapped to CapsLock,
you need to do some additional job.
Open System Preferences and go to Keyboard > Shortcut
- Map Spotlight to
alt + space
- Map Input Source Selection to
command + space
Basically switch those shortcuts.
For convenience, map caps_lock to left_ctrl. So you can initiate the following key mappings with caps_lock
(use your little finger 🤙).
caps_lock
toleft_ctrl
left_ctrl + j
to←
left_ctrl + i
to↑
left_ctrl + k
to↓
left_ctrl + l
to→
left_ctrl + left_option + j
toleft_option + ←
left_ctrl + left_option + l
toleft_option + →
left_ctrl + left_command + j
tohome
left_ctrl + left_command + l
toend
left_ctrl + h
tobackspace
left_ctrl + ;
todelete
left_ctrl + d
topage_down
left_ctrl + u
topage_up