A complementary tip for Ctr+R is to tag long reusable commands with a comment in the end, e.g.,
find . -name "*.png" -print0 | xargs -0 -P8 pngquant --ext .png --force 256 #optimizepng
(if you’re using zsh, you have to enable INTERACTIVE_COMMENTS option first; just run set -k)