danielmagnussons / orgmode

orgmode is for keeping notes, maintaining TODO lists, planning projects, and authoring documents with a fast and effective plain-text system.
MIT License
753 stars 70 forks source link

moving tree branches #79

Open fionda opened 3 years ago

fionda commented 3 years ago

Hi - is there a way to move around headings and everything they contain up/down in the document as I understand is possible with orgmode? (Apologies if it's explained somewhere - I'm a total noob at this stuff) Thanks, and thank you for this plugin!

nickanderson commented 3 years ago

I think you are looking for Structure Editing

I use Alt + arrow keys (up/down) to move a subtree up or down. Shift + Alt + arrows (left/right) to move a subtree (including children) in or out a level.

fionda commented 3 years ago

That's exactly what I'd like to do! I tried the Alt (Option on Mac) + arrow keys but that didn't do anything. Am I supposed to define these key combinations in a setting?

urbanophile commented 2 years ago

I can't see where or if this feature implemented within this plugin.

You can try "^⌘↑" or "^⌘↓" to move the line around but this is just sublime functionality.