I took this idea further and have defined every single key on my keyboard into hyper keys. So for example, holding w key and then pressing k will open Safari for me or if I press j while w is held, iTerm will get opened. This ability to create hyper keys for every key, allows me to activate any action I want on my mac in less than a second at any time.
One problem however is that the app I use to achieve this (Karabiner Elements) is quite complex so I decided to build a special language with nice API that would allow to make any kind of modifications on the keyboard with ease.
Here is the project: https://github.com/nikitavoloboev/karabiner-generator
Instructions on how you can run it for yourself are in the README of the project.
Let me know your thoughts on this project. My goal with this is to bring the power of keyboard modifications to everyone.