Change the CAPSLOCK to “Hyper” on press and ESCAPE on Tap

Please see:

http://brettterpstra.com/2012/12/08/a-useful-caps-lock-key/

for the original code and explanation of how to change the CAPSLOCK to “Hyer” on hold and  ESCAPE. The names of the tools have changed to Seil(https://pqrs.org/osx/karabiner/seil.html.en) and Karbiner(https://pqrs.org/osx/karabiner/index.html.en).

To keep the CAPSLOCK  function:

http://brettterpstra.com/2015/12/18/a-hyper-key-that-can-still-yell/

System Preferences

In System Preferences -> Keyboard -> Modifyer Keys.

Ensure that the Caps Lock key has no Action

Seil

Change CAPSLOCK to F19 (keycode 80)

Karabiner

  1. Ensure that F19 is F19
  2. Click here

Modify Private.xml

Open Private.xml

private.xml (~/Library/Application Support/Karabiner) – VIM1

Change or add this to private.xml. I previously had the key only mapped to be a “Hyper” key. This code was changed to the code below. The raw code is available in the original article:

A useful CAPSLOCK key

or on github:

Raw Text

 

Karabiner

Click Reload XML to load the new changes

Advertisements

Comments are closed.

%d bloggers like this: