Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add move-outline-to-first/last-child commands #3531

Closed
edreamleo opened this issue Sep 2, 2023 · 1 comment
Closed

Add move-outline-to-first/last-child commands #3531

edreamleo opened this issue Sep 2, 2023 · 1 comment
Assignees
Milestone

Comments

@edreamleo
Copy link
Member

edreamleo commented Sep 2, 2023

move-outline-to-first-child is convenient when a creating a section.

With default settings Leo creates the section definition node as the last child of its parent. If a node has many children it is surprisingly inconvenient to move (manually!) the newly-created node to be the first child of its parent.

move-outline-to-last-child is less useful (with default settings), but it should be added as a companion command.

These commands do nothing if a hoist is in effect.

Aha! The extract commands should create section definition nodes as the first child of their parent node.

@edreamleo
Copy link
Member Author

Closed via PR #3532.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant