Skip to content

fullpipe/Caps2Esc.spoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Caps2Esc.spoon

Map your useless caps lock to magic control. When you press it with something else it works like control. When you press it in isolation it works as escape.

Intallation

You need Hammerspoon installed.

brew install hammerspoon

Clone spoon

git clone --depth 1 git@github.com:fullpipe/Caps2Esc.spoon.git ~/.hammerspoon/Spoons/Caps2Esc.spoon
mkdir -p ~/.hammerspoon
echo "hs.loadSpoon('Caps2Esc'):start()" >> ~/.hammerspoon/init.lua

Open System Preferences, navigate to Keyboard > Modifier Keys, set the caps lock key to control.

Reload hammerspoon config. That's it.

About

Map your useless caps lock to magic control.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages