How to keep indentation with Emacs + org-mode + visual-line-mode?

Activate org-indent-mode. One way is to add a hook

(add-hook 'org-mode-hook
          (lambda ()
            (org-indent-mode t))
          t)

but the easier way is to customize org-startup-indented to be non-nil.

Note that even when org-indent-mode is non-nil, headlines still don’t enjoy auto-fill treatment. It’s only the body of an entry that will be both filled and indented left-justified against its parent heading’s left column.

Leave a Comment

tech