Created
December 18, 2024 22:22
-
-
Save s-estay/3eeb1e6e1ee8ff71b029acc32ad05b1b to your computer and use it in GitHub Desktop.
HHKB MacOS SWE Kabiner-Elements config file
This file contains hidden or 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
"profiles": [ | |
{ | |
"complex_modifications": { | |
"rules": [ | |
{ | |
"description": "Navigate using Left Control + hjkl", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "h", | |
"modifiers": { "mandatory": ["left_control"] } | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow", | |
"modifiers": [] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "j", | |
"modifiers": { "mandatory": ["left_control"] } | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow", | |
"modifiers": [] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "k", | |
"modifiers": { "mandatory": ["left_control"] } | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow", | |
"modifiers": [] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "l", | |
"modifiers": { "mandatory": ["left_control"] } | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow", | |
"modifiers": [] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Map Swedish äåö to Right Option + qao", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "q", | |
"modifiers": { "mandatory": ["right_option"] } | |
}, | |
"to": [ | |
{ | |
"key_code": "u", | |
"modifiers": ["left_option"] | |
}, | |
{ | |
"key_code": "a", | |
"modifiers": [] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "o", | |
"modifiers": { "mandatory": ["right_option"] } | |
}, | |
"to": [ | |
{ | |
"key_code": "u", | |
"modifiers": ["left_option"] | |
}, | |
{ | |
"key_code": "o", | |
"modifiers": [] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "q", | |
"modifiers": { "mandatory": ["right_option", "right_shift"] } | |
}, | |
"to": [ | |
{ | |
"key_code": "u", | |
"modifiers": ["left_option"] | |
}, | |
{ | |
"key_code": "a", | |
"modifiers": ["right_shift"] | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "o", | |
"modifiers": { "mandatory": ["right_option", "right_shift"] } | |
}, | |
"to": [ | |
{ | |
"key_code": "u", | |
"modifiers": ["left_option"] | |
}, | |
{ | |
"key_code": "o", | |
"modifiers": ["right_shift"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Lock screen with Option + l", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "l", | |
"modifiers": { "mandatory": ["left_option"], "optional": ["right_option"] } | |
}, | |
"to": [ | |
{ | |
"key_code": "q", | |
"modifiers": ["left_control", "left_command"] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
}, | |
"name": "HHBK SWE MACOS", | |
"selected": true, | |
"virtual_hid_keyboard": { "keyboard_type_v2": "ansi" } | |
}, | |
{ | |
"name": "Default", | |
"virtual_hid_keyboard": { "keyboard_type_v2": "ansi" } | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment