nvim-orgmode/orgmode

Support for org-shiftmetaleft, org-outdent-item and org-shiftmetaright, org-indent-item

Closed this issue · 5 comments

Does this feature exist in Emacs orgmode core?

Yes

Orgmode link

https://orgmode.org/manual/Plain-Lists.html > Unordered list
M-LEFT/M-RIGHT Decrease/increase the indentation of an item, leaving children alone.

https://orgmode.org/worg/doc.html > org-metaleft
Promote heading, list item at point or move table column left.
Calls ‘org-do-promote’, ‘org-outdent-item’ or ‘org-table-move-column’, depending on context.
With no specific context, calls the Emacs default ‘backward-word’.
See the individual commands for more information.
This function runs the hook ‘org-metaleft-hook’ as a first step, and returns at first non-nil value.

https://orgmode.org/worg/doc.html > org-outdent-item
Outdent a local list item, but not its children.
If a region is active, all items inside will be moved.

Similar descriptions for org-metaright and org-indent-item functions.

Feature value

Used to indent/outdent bullets.

Additional context

No response

Edit: I first thought, you are speaking of org headlines, where this is supported.

You mean the same features provided by org_do_promote/demote and org_promote/demote_subtree, but for list items, correct? That's still missing.

That is correct.
Used to indent/outdent list items.

I just implemented the feature in PR #779.

Thanks seflue! That was fast.

Thanks seflue! That was fast.

Took me an evening. 😉 Now let's hope that @kristijanhusak will merge this soon into upstream.