Add conditional checks for testing the currently active layout and keymap
It allows me to use the same macro function across keymaps (with common functionality) but with slightly different intermediate behaviour depending on what keymap activates the macro.
(well, it's not checking what triggers the macro but the currently active one, but in most practical cases this should be sufficient)
Add conditional checks for testing the currently active layout and keymap
It allows me to use the same macro function across keymaps (with common functionality) but with slightly different intermediate behaviour depending on what keymap activates the macro. (well, it's not checking what triggers the macro but the currently active one, but in most practical cases this should be sufficient)