Skip to content

Instantly share code, notes, and snippets.

@T1T4N
Last active October 20, 2017 10:00
Show Gist options
  • Save T1T4N/9952ce04c8fe12544a2f148f13e816de to your computer and use it in GitHub Desktop.
Save T1T4N/9952ce04c8fe12544a2f148f13e816de to your computer and use it in GitHub Desktop.
Home row navigation for Finder using Karabiner Elements
{
"title": "Home row navigation for Finder",
"rules": [
{
"description": "Use right ⌘ +j/k to go down/up in Finder",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"right_command"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": [
"left_command"
]
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.apple\\.finder$"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"right_command"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_command"
]
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com\\.apple\\.finder$"
]
}
]
}
]
},
{
"description": "Use right ⌘ +h/l to go back/forward in Finder",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"right_command"
]
}
},
"to": [
{
"key_code": "open_bracket",
"modifiers": [
"left_command"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"right_command"
]
}
},
"to": [
{
"key_code": "close_bracket",
"modifiers": [
"left_command"
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment