nvim-orgmode / orgmode

Orgmode clone written in Lua for Neovim 0.9+.

Home Page:https://nvim-orgmode.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow listitem folding

ESSO0428 opened this issue · comments

Does this feature exist in Emacs orgmode core?

Yes

Orgmode link

https://orgmode.org/manual/Plain-Lists.html

Feature value

The ability to fold list items in Emacs is a useful feature. I propose adding this list item folding functionality by default to folds.scm.

like this

([
  (section)
  (table)
  (drawer)
  (property_drawer)
  (block)
  (listitem)
  ] @fold
  (#trim! @fold))

Thank you to the development team for considering this enhancement.

Additional context

No response

Just to add a note that this depends on the configuration org-cycle-include-plain-lists. More details https://orgmode.org/manual/Plain-Lists.html#index-cycling_002c-in-plain-lists

I'll pick this up after I finish out #627 and #629 if nobody else does as a heads up.

Probably shove it in the foldexpr.