Skip to content

Instantly share code, notes, and snippets.

@PerpetualBeta
Created June 30, 2017 06:17
Show Gist options
  • Select an option

  • Save PerpetualBeta/5414960b79ef1b26b3bcfb11c99f5ea3 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

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

@manuelalonso
Copy link
Copy Markdown

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?

@henrybosch
Copy link
Copy Markdown

henrybosch 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