Mapping Caps Lock to Alfred
Software you need
In order to do this, I turned off the Caps Lock button by going to System Preferences -> Keyboard -> Modifier Keys… -> Caps Lock Key to No Action.
I opened Karabiner-Elements and changed my Caps Lock button to the f19 key under Simple Modifications.
I opened Alfred, clicked on keyboard shortcut, and press Caps Lock.
I mapped the Alfred clipboard to CapsLock + Spacebar, so I can have a clipboard manager that’s easy to open.
You should be all set.
P.S. You can also use this trick to open any other software for the Mac OSX.