LyX has an implementation for math macros for long time. But it never was more than a power user tool, deeply hidden behind a mini-buffer command and not really ready for the usual user. Here an improved macro implementation is presented which is much more in the way macros should look like in LyX.