Skip to content

Instantly share code, notes, and snippets.

@ryanschwartz
Created November 28, 2018 18:55
Show Gist options
  • Save ryanschwartz/72af0780b360e327cbf50c115984de7f to your computer and use it in GitHub Desktop.
Save ryanschwartz/72af0780b360e327cbf50c115984de7f to your computer and use it in GitHub Desktop.
Switch Caps-Lock to Control key with long press, Escape with short press/tap
Step 1: Install karabiner-elements. https://github.com/tekezo/Karabiner-Elements/releases
Step 2: Visit https://pqrs.org/osx/karabiner/complex_modifications/#modifier-keys and click import button on "Change caps_lock key (rev 2)"
Step 3: When karabiner prompts, click Import to import ruleset.
Step 4: Click :heavy_plus_sign: to enable the "Change caps_lock to control if pressed with other keys, to escape if pressed alone." rule.
Step 5: *Never use the TouchBar escape key again.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment