nvim-orgmode / orgmode

Orgmode clone written in Lua for Neovim 0.9+.
https://nvim-orgmode.github.io/
MIT License
3.03k stars 134 forks source link

Manage checkboxes as we do headings #508

Open lyz-code opened 1 year ago

lyz-code commented 1 year ago

Does this feature exist in Emacs orgmode core?

N/A

Orgmode link

No response

Feature value

I'd find it useful to be able to manage the checkboxes as we do the headings, namely:

Additional context

If there is a way to do this I'm sorry :S, I'm just diving in nvim-orgmode for the first time (It is awesome!)

jgollenz commented 1 year ago

Emacs does support both features.

Promotion 'kinda' works by visually selecting the line with V and then <<. To demote do >> instead. However, that's just vim functionality, we're not doing anything elaborate. E.g.

  - [X] foo
      - [X] bar
  - [ ] baz

demoting baz should result in

  - [-] foo
      - [X] bar
      - [ ] baz

since foo no longer is completely checked. But that's not what's happening currently.

Moving list items up and down is not yet possible, but shouldn't be too hard.

Offtopic: @kristijanhusak what's your opinion on splitting the enhancement label into one for missing emacs functionality and one for other improvements not found in emacs. Speaking of labels: this issue seems like a candidate for good first issue