Karabiner-Elements-CustomKeyMapping
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.
How to use
After you install Karabiner-Elements, override ~/.config/karabiner/karabiner.json
with karabiner.json
file in this repository.
Key mappings
right_command/right_option
to left_command + spacebar
1. Change 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.
caps_lock
to left_ctrl
2. Change 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/k/l/i
to Arrows.
3. Change left_ctrl + j
toβ
left_ctrl + i
toβ
left_ctrl + k
toβ
left_ctrl + l
toβ
left_ctrl + left_option + j/l
to move cursor by word left/right.
4. Change left_ctrl + left_option + j
toleft_option + β
left_ctrl + left_option + l
toleft_option + β
left_ctrl + left_command + j/l
to home/end
5. Change left_ctrl + left_command + j
tohome
left_ctrl + left_command + l
toend
left_ctrl + h/;
to backspace/delete
6. Change left_ctrl + h
tobackspace
left_ctrl + ;
todelete
left_ctrl + d/u
to page_down/page_up
7. Change left_ctrl + d
topage_down
left_ctrl + u
topage_up