reddit / emacs

Org-mode padding/spacing?

TyrionBean · 2022-08-16 10:48
Does anyone know how to automatically give an extra line between org-mode headers, and maybe two lines between level 1 headers? The way that org-mode can feel so crowded, and automatically removes my extra newlines upon saves drives me a bit bonkers. Any tips/suggestions? Thanks.
fast-90 · 2022-08-16 12:05
Are you maybe looking for the `org-blank-before-new-entry` variable? It doesn't support adding two new lines between headers out of the box I think, but you can set it so it always adds a blank line between headers.
TyrionBean · 2022-08-16 15:21
Thank you. Your comment led me to google the entry and I found this marvelous post: [https://explog.in/notes/writingsetup.html](https://explog.in/notes/writingsetup.html) With the following lines: `(customize-set-variable 'org-blank-before-new-entry'((heading . nil)(plain-list-item . nil)))(setq org-cycle-separator-lines 1)` Which was exactly what I was looking for. Thank you again.