Skip to content

Instantly share code, notes, and snippets.

@krizajb
Last active Dec 28, 2020
Embed
What would you like to do?
Slovenian QWERTZ keybindings for macOs
{
"title": "Slovenian keyboard bindings",
"rules": [
{
"description": "Alt + D, Alt + F - Square brackets",
"manipulators":
[
{
"type": "basic",
"from": {
"key_code": "f",
"modifiers": {
"mandatory": ["right_option"]
}
},
"to": {
"key_code" : "open_bracket",
"modifiers": [
"left_option"
]
}
},
{
"type": "basic",
"from": {
"key_code": "g",
"modifiers": {
"mandatory": [
"right_option"
]
}
},
"to": [
{
"key_code": "close_bracket",
"modifiers": [
"left_option"
]
}
]
}
]
},
{
"description": "Alt + B, Alt + N - Curly brackets",
"manipulators":
[
{
"type": "basic",
"from": {
"key_code": "b",
"modifiers": {
"mandatory": ["right_option"]
}
},
"to": {
"key_code" : "open_bracket",
"modifiers": [
"left_option",
"left_shift"
]
}
},
{
"type": "basic",
"from": {
"key_code": "n",
"modifiers": {
"mandatory": [
"right_option"
]
}
},
"to": [
{
"key_code": "close_bracket",
"modifiers": [
"left_option",
"left_shift"
]
}
]
}
]
},
{
"description": "Alt + W - Pipe",
"manipulators": [
{
"type": "basic",
"description": "",
"from": {
"key_code": "w",
"modifiers": {
"mandatory": ["right_option"]
}
},
"to": {
"key_code" : "backslash",
"modifiers": [
"left_option",
"left_shift"
]
}
}
]
},
{
"description": "Alt + Q - Backslash",
"manipulators": [
{
"type": "basic",
"description": "",
"from": {
"key_code": "q",
"modifiers": {
"mandatory": ["right_option"]
}
},
"to": {
"key_code" : "backslash",
"modifiers": [
"right_option"
]
}
}
]
},
{
"description": "Left shift + 7 - Hyphen",
"manipulators": [
{
"type": "basic",
"description": "",
"from": {
"key_code": "7",
"modifiers": {
"mandatory": ["left_shift"]
}
},
"to": {
"key_code" : "hyphen"
}
}
]
},
{
"description": "Left shift + ? - Single quote",
"manipulators": [
{
"type": "basic",
"description": "",
"from": {
"key_code": "hyphen"
},
"to": {
"key_code" : "7",
"modifiers": [
"left_shift"
]
}
}
]
},
{
"description": "Right shift + E - Euro",
"manipulators": [
{
"type": "basic",
"description": "",
"from": {
"key_code": "e",
"modifiers": {
"mandatory": ["right_option"]
}
},
"to": {
"key_code" : "5",
"modifiers": [
"left_shift", "left_option"
]
}
}
]
},
{
"description": "Right shift + comma/period - <>",
"manipulators": [
{
"type": "basic",
"description": "",
"from": {
"key_code": "comma",
"modifiers": {
"mandatory": ["right_option"]
}
},
"to": {
"key_code" : "grave_accent_and_tilde"
}
},
{
"type": "basic",
"description": "",
"from": {
"key_code": "period",
"modifiers": {
"mandatory": ["right_option"]
}
},
"to": {
"key_code" : "grave_accent_and_tilde",
"modifiers" : ["left_shift"]
}
}
]
},
{
"description": "Right Shift + backspace - Delete",
"manipulators": [
{
"type": "basic",
"description": "",
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": ["right_shift"]
}
},
"to": {
"key_code" : "delete_or_backspace",
"modifiers": [
"fn"
]
}
}
]
},
{
"description": "Left option + L/R Arrow - Left option + 8/9 - Intellj next/prev ",
"manipulators": [
{
"type": "basic",
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.jetbrains\\.intellij"
]
}
],
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": ["left_option"]
}
},
"to": {
"key_code" : "8",
"modifiers": [
"left_option"
]
}
},
{
"type": "basic",
"description": "",
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": ["left_option"]
}
},
"to": {
"key_code" : "9",
"modifiers": [
"left_option"
]
}
}
]
},
{
"description": "Cmd + L/R arrow - Next/Previous word",
"manipulators": [
{
"type": "basic",
"description": "",
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": ["left_command"]
}
},
"to": {
"key_code" : "right_arrow",
"modifiers": [
"left_option"
]
}
},
{
"type": "basic",
"description": "",
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": ["left_command"]
}
},
"to": {
"key_code" : "left_arrow",
"modifiers": [
"left_option"
]
}
}
]
}
// Fn–Right Arrow
/*{
"description": "Ctr+Fn+L/R arrow - Start/End file",
"manipulators": [
{
"type": "basic",
"description": "",
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": ["left_control", "fn"]
}
},
"to": {
"key_code" : "right_arrow",
"modifiers": [
"fn"
]
}
},
{
"type": "basic",
"description": "",
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": ["left_control", "fn"]
}
},
"to": {
"key_code" : "left_arrow",
"modifiers": [
"fn"
]
}
}
]
}
*/
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment