What this rule does
cmd-tab only toggles between different apps. To toggle between different windows of the same app, you need to use
cmd-` . However this is cumbersome for regular usage, as it requires stretching your fingers unnaturally. This rule allows to use
cmd-CapsLock instead, which is much easier.
To enable the rule
- Install Karabiner Elements and give it all permissions it asks for
cd ~/.config/karabiner/assets/complex_modificationsand put the json file below there
- Restart Karabiner Elements
- Go to "Complex Modifications > Add rule"