My current workstation is an Arch Linux (WSL2) machine. Therefore, the most up-to-date config that I'm using now is actually here.
99.9% of the things I configured there will work on macOS too.
This is my personal Emacs configuration (tested on GNU Emacs 27 and 28). If you prefer an unopinionated Emacs "distro" that you could build upon, check out this page.
Back up your ~/.emacs.d/
first (if you have one):
mv ~/.emacs.d ~/.emacs.d.bak
Git clone my configuration to your new ~/.emacs.d/
:
git clone https://github.com/ianyepan/.personal-emacs.d.git ~/.emacs.d
I will constantly push new commits since a real Emacser is never completely satisfied with his/her setup ;-)