Skip to content

Instantly share code, notes, and snippets.

@pkorpine
Created December 8, 2020 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkorpine/30cf3036ba37e64a5c39e7322b2980bf to your computer and use it in GitHub Desktop.
Save pkorpine/30cf3036ba37e64a5c39e7322b2980bf to your computer and use it in GitHub Desktop.
Karabiner Finnish umlauts on ANSI keyboard using right option
{
"title": "Finnish umlauts on ANSI keyboard",
"rules": [
{
"description": "Right alt + ;' to öä (with or without shift)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "semicolon",
"modifiers": {"mandatory": ["right_option"]}
},
"to": [
{
"key_code": "u",
"modifiers": ["left_option"]
},
{
"key_code": "o"
},
{
"key_code": "vk_none"
}
]
},
{
"type": "basic",
"from": {
"key_code": "quote",
"modifiers": {"mandatory": ["right_option"]}
},
"to": [
{
"key_code": "u",
"modifiers": ["left_option"]
},
{
"key_code": "a"
},
{
"key_code": "vk_none"
}
]
},
{
"type": "basic",
"from": {
"key_code": "semicolon",
"modifiers": {"mandatory": ["right_option", "shift"]}
},
"to": [
{
"key_code": "u",
"modifiers": ["left_option"]
},
{
"key_code": "o",
"modifiers": ["left_shift"]
},
{
"key_code": "vk_none"
}
]
},
{
"type": "basic",
"from": {
"key_code": "quote",
"modifiers": {"mandatory": ["right_option", "shift"]}
},
"to": [
{
"key_code": "u",
"modifiers": ["left_option"]
},
{
"key_code": "a",
"modifiers": ["left_shift"]
},
{
"key_code": "vk_none"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment