Skip to content

Instantly share code, notes, and snippets.

@vietlubu
Last active June 10, 2023 16:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vietlubu/8f7d9c04102fd1e55f2a4f48d473082b to your computer and use it in GitHub Desktop.
Save vietlubu/8f7d9c04102fd1e55f2a4f48d473082b to your computer and use it in GitHub Desktop.
Anne pro 2 Karabiner mapping to transform right_shift to up_arrow. Download and copy to `~/.config/karabiner/assets/complex_modifications/`
{
"title": "Anne pro 2",
"rules": [
{
"description": "left_command + right_shift = left_command + up",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_shift",
"modifiers": {
"mandatory": [
"left_command"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_command"
]
}
]
}
]
},
{
"description": "left_shift + right_shift = left_shift + up",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_shift",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_shift"
]
}
]
}
]
},
{
"description": "left_control + right_shift = left_control + up",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_shift",
"modifiers": {
"mandatory": [
"left_control"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_control"
]
}
]
}
]
},
{
"description": "(left_option + left_shift) + right_shift = (left_option + left_shift) + up",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_shift",
"modifiers": {
"mandatory": [
"left_option",
"left_shift"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_option",
"left_shift"
]
}
]
}
]
},
{
"description": "(left_gui + left_shift) + right_shift = (left_gui + left_shift) + up",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_shift",
"modifiers": {
"mandatory": [
"left_gui",
"left_shift"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_gui",
"left_shift"
]
}
]
}
]
},
{
"description": "(left_control + left_shift) + right_shift = (left_control + left_shift) + up",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_shift",
"modifiers": {
"mandatory": [
"left_control",
"left_shift"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_control",
"left_shift"
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment