If you truly want focused you don't even need a window manager, you aren't even forced to run x11 or wayland but if so just put your favorite text editor desktop file in /usr/share/xsessions is enough.
[1] unless you start it from emacs which is also totally possible
a) Boot with all bells & whistles. Or b) Boot straight into editor & type away.
Hell you could even use a customized kernel for that, to strip out all the boot-time consuming features that editor doesn't need.