Skip to content

Instantly share code, notes, and snippets.

@securibee
Created December 2, 2025 04:51
Show Gist options
  • Select an option

  • Save securibee/a6d1ec674263b3a379afd737c5b1ab29 to your computer and use it in GitHub Desktop.

Select an option

Save securibee/a6d1ec674263b3a379afd737c5b1ab29 to your computer and use it in GitHub Desktop.
Karabiner Elements
{
"description": "Add navigation to Obsidian: ctrl + j and ctrl + k",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^md\\.obsidian$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "k",
"modifiers": { "mandatory": ["left_control"] }
},
"to": [{ "key_code": "up_arrow" }],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^md\\.obsidian$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "j",
"modifiers": { "mandatory": ["left_control"] }
},
"to": [{ "key_code": "down_arrow" }],
"type": "basic"
}
]
}
{
"manipulators": [
{
"description": "Change caps_lock to control if pressed with other keys, to escape if pressed alone.",
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [{ "key_code": "left_control" }],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
},
{
"description": "Change right_command to command+control+option+shift.",
"from": {
"key_code": "right_command",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"modifiers": ["left_command", "left_control", "left_option"]
}
],
"to_if_alone": [{ "key_code": "right_command" }],
"type": "basic"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment