Drag and Drop to rearrange heading in TOC panel

It will be nice if it able using “Ctrl drag”(or other modifier key) to rearrange heading, including all the lower level headings and contents in the TOC panel.

30 Likes

The heading outline is a great tool for quickly skimming and jumping around a note. I think the ability to do some editing directly from this outline would be very convenient, and for me would go a long way to bridging the gap between Obsidian’s heading-based organization and the more familiar nested-bullets outliner organization.
For example, drag-and-dropping a heading to a different position in the outline and having the heading in the file, plus everything below it, shift to that position relative to the other headings in the file. You could even have the ability to promote/demote headings, similar to how folders work in a lot of sidebar file managers: e.g. drag an H1 into another H1 to turn it into an H2 subheading, and drag an H1 into that to make it an H3.

8 Likes

Came looking for this. Rearranging the headings in the outline pane would be incredibly helpful, and the most efficient way to organize a note. And that ability to promote/demote headings during the process would be next level. This is my top desired feature, after a mobile app.

4 Likes

I would love this feature! +1

Is TOC panel the same as outline pane? If so I think this thread should be merged with Ability to drag and drop headings from outline view to re-order blocks of text.

1 Like

Super feature! +1

Perhaps another feature that could be natural in this plugin is to ‘copy paste’ the TOC itself. A right-click on the TOC tree wouldn’t be invasive.

3 Likes

Interesting. What if we could right-click the TOC tree and either copy the outline itself or optionally we could copy the contents of the outline (i.e. the actual text contained in those heading sections).

3 Likes

Ability to drag and drop headings from outline view to re-order blocks of text.

13 Likes

I was about to request this too! :sweat_smile: I would certainly love this feature.

We might also consider making this a plugin. I personally would love this feature but I’m not quite sure if it’s a “core” feature for the devs.

2 Likes

Just adding my +1 on that! It would be immensely useful!

3 Likes

since we already have basic “move block of text” in the editor (by just draggin a selection)
it would even be just enough to let Obsidian SELECT the heading and all its subcontent (maybe by cntr+click) so that we can move it in the editor

or if we could reorder simply in the Outliner, even better (i could trash Scrivener, then :wink:

2 Likes

Another idea is the possibility to synchronize the outline with the note, so that operations in the outline are mirrored in the note.

  • Rearranging the outline items rearranges the corresponding sections in the note.
  • Collapsing one or more headings in the outline collapses the corresponding section(s) in the note.

This could be achieved with a toggle, or by holding a key pressed, or both.

3 Likes

I love the idea of drag and drop rearrangement of headings!

It could also be cool if Outline could go into an Edit Mode so that you could swap headings upwards and downwards, rename them and even add new headings and subheadings using tabs rather than typing hashtags.

I have two related requests here: Expanded Outline plugin abilities

and Indent driven auto heading creation mode

Thanks.

2 Likes

Just to second this, directly editing TOC would be super helpful when you have a long note with a lot of moving parts, and it would be pretty natural to want to fit some text under new/different heading since their content are constantly evolving too! Really hoping this feature would be added soon.

2 Likes

+1 to this. Is there a community plug in that could make this work? Re-arranging blocks of text in the outline mode would be huge.

3 Likes

+1 It would be a game-changing feature!!

I find a similar feature Arrange Markdown Blocks | Drafts Directory hope it helps.

+1 for this feature. I love it n Roam moving headings between notes. Absolut power feature.

+1 from me. With the mobile app here, this is now my #1 most wanted feature in Obsidian

+1 From me

+1. I have the same idea.