Starting Emacs with a split frame

,

Maybe a little off-topic but I wanted to share a tip to better control the frame start.

I had an unjustified obsession to get Emacs to start half screen to the left. I found a package moom that has a decent amount of frame magic.

After adding (package! moom) to ~/.doom.d/packages.el.

Run doom sync.

It allowed me to start half screen left with this hack at the bottom of ~/.doom.d/config.el:

(when (display-graphic-p) ; To not break cli-things like `doom doctor`
  (moom-mode 1)
  (moom-fill-left))
1 Like