Split at Cursor into New Document
Summary Add a command to split the current document from the caret position to the end into a new document.
Proposed Behaviour
- Move all text from the current cursor position to the end of the current document into a new document.
- The new document should appear immediately below the current one in the project tree (not at the bottom).
- Optionally, auto-generate its title from the first line or heading of the split section.
Why This Helps
- Complements Create Document from Selection (#1486).
- Great for breaking long scenes or notes during drafting without inserting extra headings.
- Avoids manual cut-paste operations and keeps the project tree organised.
References:
- Discussion #2569 (original proposal and context)
- Related: #1486 (Create document from selected text)
Thanks! I've added it to the 2.9 release milestone. This fits well with the feature types I'm planning for that release.
Thanks so much for including it!
Really glad it aligns with the direction for 2.9 — looking forward to testing it in the beta.
Yeah, I'm planning to focus on document import/export/processing and project/manuscript export in 2.9, so I've been filtering features based around that. I'm trying to reduce the scope of the release milestones so I can have shorter release cycles, but I never really succeed. 😅