Skip to content

Instantly share code, notes, and snippets.

@panych
Last active January 29, 2018 20:55
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 panych/7960babd42821cbf8e9e7762df566f6d to your computer and use it in GitHub Desktop.
Save panych/7960babd42821cbf8e9e7762df566f6d to your computer and use it in GitHub Desktop.
Karabiner modifications

My personal modifications for Karabiner

Reference: https://pqrs.org/osx/karabiner/json.html

  1. Add panych.json to ~/.config/karabiner/assets/complex_modifications
  2. Activate in Karabiner menu: Complex Modifications / Add rule
{
"title": "Arrows on i,j,k,l",
"rules": [
{
"description": "cmd + [i, j, k, l] to arrows: up, left, down and right",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["command"],
"optional": ["option", "shift"]
}
},
"to": [
{
"key_code": "left_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "i",
"modifiers": {
"mandatory": ["command"],
"optional": ["option", "shift"]
}
},
"to": [
{
"key_code": "up_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["command"],
"optional": ["option", "shift"]
}
},
"to": [
{
"key_code": "down_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["command"],
"optional": ["option", "shift"]
}
},
"to": [
{
"key_code": "right_arrow"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment