Often times I find doing various commands in org-mode adds/removes whitespace around headings. This can lead to inconsistent whitespace throughout the file. Kind of annoying.

Are there any tools to manage this? Like an auto formatter or something?

  • unduly-notedOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    One example is refiling. Sometimes when the subtree moves the whitespace isn’t how I’d like. Similar for cutting and moving subtrees.

    The specific commands that result in undesirable whitespace aren’t important, though. The point is sometimes the whitespace in my org files ends up in an inconsistent state and I would like to be able to just run a command and clean it up.