Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save bidah/c42d2d1dc63f7308d73053a3a1475ee8 to your computer and use it in GitHub Desktop.

Select an option

Save bidah/c42d2d1dc63f7308d73053a3a1475ee8 to your computer and use it in GitHub Desktop.

Revisions

  1. bidah created this gist Apr 16, 2020.
    109 changes: 109 additions & 0 deletions karabiner arrows right cmd, alt, ctrl, shift
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,109 @@
    {
    "title": "Change modifiers to arrows",
    "rules": [
    {
    "description": "Change right_shift to top_arrow if pressed alone",
    "manipulators": [
    {
    "type": "basic",
    "from": {
    "key_code": "right_shift",
    "modifiers": {
    "optional": [
    "any"
    ]
    }
    },
    "to": [
    {
    "key_code": "right_shift"
    }
    ],
    "to_if_alone": [
    {
    "key_code": "top_arrow"
    }
    ]
    }
    ]
    },
    {
    "description": "Change right_ctrl to right_arrow if pressed alone",
    "manipulators": [
    {
    "type": "basic",
    "from": {
    "key_code": "right_control",
    "modifiers": {
    "optional": [
    "any"
    ]
    }
    },
    "to": [
    {
    "key_code": "right_control"
    }
    ],
    "to_if_alone": [
    {
    "key_code": "right_arrow"
    }
    ]
    }
    ]
    },
    {
    "description": "Change right_alt to down_arrow if pressed alone",
    "manipulators": [
    {
    "type": "basic",
    "from": {
    "key_code": "right_alt",
    "modifiers": {
    "optional": [
    "any"
    ]
    }
    },
    "to": [
    {
    "key_code": "right_alt"
    }
    ],
    "to_if_alone": [
    {
    "key_code": "down_arrow"
    }
    ]
    }
    ]
    },
    {
    "description": "Change right_command to left_arrow if pressed alone",
    "manipulators": [
    {
    "type": "basic",
    "from": {
    "key_code": "right_command",
    "modifiers": {
    "optional": [
    "any"
    ]
    }
    },
    "to": [
    {
    "key_code": "right_command"
    }
    ],
    "to_if_alone": [
    {
    "key_code": "down_arrow"
    }
    ]
    }
    ]
    }
    ]
    }