Last active
April 1, 2022 15:27
-
-
Save soomtong/c975ff6ede873697b2f4e825453ddfef to your computer and use it in GitHub Desktop.
happy hacking keyboard layout for macOS karabiner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "HHKB for macOS", | |
"rules": [ | |
{ | |
"description": "shift + esc to tilde", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", | |
"modifiers": { | |
"mandatory": [ | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": [ | |
"shift" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "option + esc to option + tilde", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", | |
"modifiers": { | |
"mandatory": [ | |
"option" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": [ | |
"option" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "cmd + esc to cmd + backtick", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", | |
"modifiers": { | |
"mandatory": [ | |
"command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": [ | |
"command" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "left cmd + backtick to show desktop", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f13" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "right cmd + backtick to lauchpad", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f15" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "right option + backtick to notification", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": { | |
"mandatory": [ | |
"right_option" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f14" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment