Created
December 22, 2018 17:50
-
-
Save Metnew/55840d5921667c33f2c040b1c27b5842 to your computer and use it in GitHub Desktop.
my karabiner config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [{ | |
"complex_modifications": { | |
"parameters": { | |
"basic.simultaneous_threshold_milliseconds": 50, | |
"basic.to_delayed_action_delay_milliseconds": 500, | |
"basic.to_if_alone_timeout_milliseconds": 1000, | |
"basic.to_if_held_down_threshold_milliseconds": 500 | |
}, | |
"rules": [{ | |
"description": "CapsLock to Hyper/Escape", | |
"manipulators": [{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "right_shift", | |
"modifiers": [ | |
"right_command", | |
"right_control", | |
"right_option" | |
] | |
}], | |
"to_if_alone": [{ | |
"key_code": "delete_or_backslash" | |
}], | |
"type": "basic" | |
}] | |
}, | |
{ | |
"description": "Hyper Navigation", | |
"manipulators": [{ | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"left_shift" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "left_arrow", | |
"modifiers": [ | |
"left_control" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "tab", | |
"modifiers": [ | |
"left_control", | |
"left_shift" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "j", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "left_arrow" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "down_arrow", | |
"modifiers": [ | |
"left_shift" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "down_arrow", | |
"modifiers": [ | |
"left_control" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "tab", | |
"modifiers": [ | |
"left_command" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "k", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "down_arrow" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "up_arrow", | |
"modifiers": [ | |
"left_shift" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "up_arrow", | |
"modifiers": [ | |
"left_control" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "tab", | |
"modifiers": [ | |
"left_command", | |
"left_shift" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "up_arrow" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"left_shift" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "right_arrow", | |
"modifiers": [ | |
"left_control" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"mandatory": [ | |
"left_shift", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "tab", | |
"modifiers": [ | |
"left_control" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "l", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "right_arrow" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "u", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "page_up", | |
"modifiers": [ | |
"left_shift" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "u", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "page_up" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "home", | |
"modifiers": [ | |
"left_shift" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "i", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "home" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "o", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "end", | |
"modifiers": [ | |
"left_shift" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "o", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "end" | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "page_down", | |
"modifiers": [ | |
"left_shift" | |
] | |
}], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "p", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "page_down" | |
}], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Hyper Deletion", | |
"manipulators": [{ | |
"from": { | |
"key_code": "m", | |
"modifiers": { | |
"mandatory": [ | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"key_code": "delete_or_backspace" | |
}], | |
"type": "basic" | |
}] | |
}, | |
{ | |
"description": "Hyper Application", | |
"manipulators": [{ | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"mandatory": [ | |
"left_command", | |
"right_command", | |
"right_control", | |
"right_shift", | |
"right_option" | |
] | |
} | |
}, | |
"to": [{ | |
"shell_command": "open -a 'finder'" | |
}], | |
"type": "basic" | |
}] | |
} | |
] | |
}, | |
"devices": [], | |
"fn_function_keys": [{ | |
"from": { | |
"key_code": "f1" | |
}, | |
"to": { | |
"consumer_key_code": "display_brightness_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f2" | |
}, | |
"to": { | |
"consumer_key_code": "display_brightness_increment" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f3" | |
}, | |
"to": { | |
"key_code": "mission_control" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f4" | |
}, | |
"to": { | |
"key_code": "launchpad" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f5" | |
}, | |
"to": { | |
"key_code": "illumination_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f6" | |
}, | |
"to": { | |
"key_code": "illumination_increment" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f7" | |
}, | |
"to": { | |
"consumer_key_code": "rewind" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f8" | |
}, | |
"to": { | |
"consumer_key_code": "play_or_pause" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f9" | |
}, | |
"to": { | |
"consumer_key_code": "fastforward" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f10" | |
}, | |
"to": { | |
"consumer_key_code": "mute" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f11" | |
}, | |
"to": { | |
"consumer_key_code": "volume_decrement" | |
} | |
}, | |
{ | |
"from": { | |
"key_code": "f12" | |
}, | |
"to": { | |
"consumer_key_code": "volume_increment" | |
} | |
} | |
], | |
"name": "Default profile", | |
"selected": true, | |
"simple_modifications": [], | |
"virtual_hid_keyboard": { | |
"country_code": 0 | |
} | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment