Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.89 KB

File metadata and controls

51 lines (38 loc) · 1.89 KB

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

1. Change right_command/right_option to left_command + spacebar

This is for changing keyboard language with only right_command or right_option.

  • right_command to left_command + spacebar
  • right_option to left_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

  1. Map Spotlight to alt + space
  2. Map Input Source Selection to command + space

Basically switch those shortcuts.

2. Change caps_lock to left_ctrl

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 to left_ctrl

3. Change left_ctrl + j/k/l/i to Arrows.

  • left_ctrl + j to
  • left_ctrl + i to
  • left_ctrl + k to
  • left_ctrl + l to

4. Change left_ctrl + left_option + j/l to move cursor by word left/right.

  • left_ctrl + left_option + j to left_option + ←
  • left_ctrl + left_option + l to left_option + →

5. Change left_ctrl + left_command + j/l to home/end

  • left_ctrl + left_command + j to home
  • left_ctrl + left_command + l to end

6. Change left_ctrl + h/; to backspace/delete

  • left_ctrl + h to backspace
  • left_ctrl + ; to delete

7. Change left_ctrl + d/u to page_down/page_up

  • left_ctrl + d to page_down
  • left_ctrl + u to page_up