1 line
1.4 KiB
Plaintext
1 line
1.4 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>I've finally come around to updating to <code>org</code> version 9.5. A change that I'm a fan of is the default for <code>org-adapt-indentation</code> is now <code>nil</code> since 9.5. However, my primary org file has been written with the hard indentation from <code>org-adapt-indentation t</code>. Is there an easy way to logically remove the preceding whitespace from this? I've tried using <code>delete-whitespace-rectangle</code>, but this doesn't preserve the indentation of subsetted bullets.</p> <p>Is there any way to essentially shift the hard tabbed indentation to the left to remove the spaces but preserve the structure?</p> <p>EDIT: I used two different strategies for this. I think the best strategy is to use <code>org-unindent-buffer</code> as recommended by blablook below. However, in my case, using <code>indent-rigidly</code> to shift everything to the left worked for me as well. Again, <code>org-unindent-buffer</code> seems to be the best.</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/PepperJackson"> /u/PepperJackson </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/qt2mmd/remove_hard_indentation_from_org_file_made_with/">[link]</a></span>   <span><a href="https://www.reddit.com/r/orgmode/comments/qt2mmd/remove_hard_indentation_from_org_file_made_with/">[comments]</a></span> |