Text this: On a unified categorical setting for homological diagram lemmas