Skip to content

Instantly share code, notes, and snippets.

@PerpetualBeta
Created June 30, 2017 06:17
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save PerpetualBeta/5414960b79ef1b26b3bcfb11c99f5ea3 to your computer and use it in GitHub Desktop.
Save PerpetualBeta/5414960b79ef1b26b3bcfb11c99f5ea3 to your computer and use it in GitHub Desktop.
Karabiner Configuration File
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": false,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
"basic.to_if_alone_timeout_milliseconds": 1000
},
"rules": [
{
"description": "Change caps lock key to hyper (⌘+⌥+⌃+⇧); use ⇧+caps lock for caps lock; tap caps lock for esc.",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"mandatory": [
"shift"
],
"optional": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "caps_lock"
}
],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_shift",
"modifiers": [
"left_command",
"left_control",
"left_option"
]
}
],
"to_if_alone": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
}
]
},
"devices": [],
"fn_function_keys": {
"f1": "vk_consumer_brightness_down",
"f10": "mute",
"f11": "volume_down",
"f12": "volume_up",
"f2": "vk_consumer_brightness_up",
"f3": "vk_mission_control",
"f4": "vk_launchpad",
"f5": "vk_consumer_illumination_down",
"f6": "vk_consumer_illumination_up",
"f7": "vk_consumer_previous",
"f8": "vk_consumer_play",
"f9": "vk_consumer_next"
},
"name": "Hyper Profile",
"selected": true,
"simple_modifications": {},
"virtual_hid_keyboard": {
"caps_lock_delay_milliseconds": 0,
"keyboard_type": "ansi"
}
}
]
}
@manuelalonso
Copy link

This is a life saver! I love the shift-caps lock to lock the function as in an old good typewiter!

@manuelalonso
Copy link

Problem is that I want to keep the LED on when caps lock is working as caps locks. I had it working at some point and then I lost it... Do you know how?

@hbtothemax
Copy link

hbtothemax commented Sep 20, 2020

This is awesome. Thanks!

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