https://github.com/dabrahams/initsplit remaking on top of prelude would be easier separate configuration files for each major mode, and one configuration file for global modes https://www.emacswiki.org/emacs/DotEmacsModular#h5o-3