Emacs startup screen
I've realized that after launching emacs I want to open the same files to update them or to take notes. I decided to try to add a custom startup screen with some shortcuts. For now I've tried emacs-splash but I didn't manage to make it work with my current emacs config. Then I tried enlight and I liked it, but I needed to change:
- whitespace highlighting (my screen was half red because of it)
- disable line numbering (I didn't want to number all the empty lines of the splash screen)
after inspecting the enlight.el sources I decided to add an hook to my enlight
use-package
insideinit.el
:config
(add-hook 'enlight-after-insert-hook (lambda () (display-line-numbers-mode -1)))
to disable line numbering, and voila! It worked like a charm!