Skip to content

Instantly share code, notes, and snippets.

@stefanoverna
Created January 27, 2021 08:49
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 stefanoverna/a4072c747f8d3fe1ac37e30569d4528b to your computer and use it in GitHub Desktop.
Save stefanoverna/a4072c747f8d3fe1ac37e30569d4528b to your computer and use it in GitHub Desktop.
Karabiner Italian Accents: put this in <CONFIG_FOLDER>/assets/complex_modifications/
{
"title": "Lettere accentate",
"rules": [
{
"description": "Option + e = è",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"left_alt",
"left_shift"
]
},
"key_code": "e"
},
"to": [
{
"repeat": true,
"key_code": "e",
"modifiers": [
"left_alt"
]
},
{
"repeat": true,
"key_code": "e"
}
]
}
]
},
{
"description": "Option + Shift + e = é",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"left_alt"
]
},
"key_code": "e"
},
"to": [
{
"repeat": true,
"key_code": "grave_accent_and_tilde",
"modifiers": [
"left_alt"
]
},
{
"repeat": true,
"key_code": "e"
}
]
}
]
},
{
"description": "Option + i = ì",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"left_alt"
]
},
"key_code": "i"
},
"to": [
{
"repeat": true,
"key_code": "grave_accent_and_tilde",
"modifiers": [
"left_alt"
]
},
{
"repeat": true,
"key_code": "i"
}
]
}
]
},
{
"description": "Option + a = à",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"left_alt"
]
},
"key_code": "a"
},
"to": [
{
"repeat": true,
"key_code": "grave_accent_and_tilde",
"modifiers": [
"left_alt"
]
},
{
"repeat": true,
"key_code": "a"
}
]
}
]
},
{
"description": "Option + o = ò",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"left_alt"
]
},
"key_code": "o"
},
"to": [
{
"repeat": true,
"key_code": "grave_accent_and_tilde",
"modifiers": [
"left_alt"
]
},
{
"repeat": true,
"key_code": "o"
}
]
}
]
},
{
"description": "Option + u = ù",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"left_alt"
]
},
"key_code": "u"
},
"to": [
{
"repeat": true,
"key_code": "grave_accent_and_tilde",
"modifiers": [
"left_alt"
]
},
{
"repeat": true,
"key_code": "u"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment