This is my custom keyboard bindings and arguments to use with PasteFlow, a paste stack for Alfred that helps pin and reuse text, files, and more. My configuration is a work in progress that I often tweak, so you can always find the most up-to-date version at THIS LINK (just search for "pasteflow").
I use Karabiner Elements, a powerful keyboard customization tool for macOS that lets me create layers and sub-layers, similar to having multiple keyboard layouts that activate with different modifier keys. This gives me unlimited possibilities for triggering different actions with just a few keystrokes. If you're using a mechanical keyboard, you can achieve similar results with firmware like QMK or VIA.
In my setup, I use Caps Lock as the main layer key, with additional S and E sub-layers. I con