Skip to content

Instantly share code, notes, and snippets.

@beta
Last active February 2, 2018 05:38
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 beta/b822032c2091da63e8a27275f5f75103 to your computer and use it in GitHub Desktop.
Save beta/b822032c2091da63e8a27275f5f75103 to your computer and use it in GitHub Desktop.
beta's Karabiner Keyboard Bindings
{
"title": "beta's Keyboard Bindings",
"rules": [
{
"description": "Control + I/J/K/L = Arrows",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option",
"shift"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option",
"shift"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option",
"shift"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option",
"shift"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
]
}
]
},
{
"description": "Control + E/S/D/F = Shift + Arrows",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "e",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "s",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "d",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": [
"shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "f",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"shift"
]
}
]
}
]
},
{
"description": "Control + U/O = Home/End",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "u",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option",
"shift"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"left_command"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "o",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option",
"shift"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"left_command"
]
}
]
}
]
},
{
"description": "Control + W/R = Shift + Home/End",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "w",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"left_command",
"shift"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "r",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"left_command",
"shift"
]
}
]
}
]
},
{
"description": "Control + N/M = PageUp/PageDown",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "n",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option",
"shift"
]
}
},
"to": [
{
"key_code": "page_up"
}
]
},
{
"type": "basic",
"from": {
"key_code": "m",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"caps_lock",
"command",
"option",
"shift"
]
}
},
"to": [
{
"key_code": "page_down"
}
]
}
]
},
{
"description": "Control + Backspace = Option + Backspace",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": [
"left_control"
]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": [
"left_option"
]
}
]
}
]
}
]
}
@beta
Copy link
Author

beta commented Jan 24, 2018

From To
control + i / j / k / l Arrow keys
control + u / o home / end
control + e / s / d / f shift + arrow keys
control + w / r shift + home / end
control + n / m page up / page down
control + delete (backspace) option + delete (backspace) (delete a word)

This works better when caps lock and control are switched.

Use the URL below to install.
karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fgist.githubusercontent.com%2Fbeta%2Fb822032c2091da63e8a27275f5f75103%2Fraw%2Fd6753834e471e287ee065cb207bec4c84db842c7%2Fbeta.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment