This is my config file for Doom Emacs. It reflects my primary needs for an academic writing environment, with some coding.
Note: I work at the border of the social sciences and humanities, with qualitative data. So I have no need to integrate, say, statistics support. But that should be easy enough to do (see, for example, the ESS module).