nvim-orgmode / nvim-orgmode/orgmode

`org_note_finalize` and `org_note_kill`: with `:wq` and `q!`

Open
#917 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Lua
Stars
3.9k
Forks
190
Avg merge
2d 13h
Merged PRs (30d)
7

Description

Does this feature exist in Emacs orgmode core?

N/A

Orgmode link

Would it be possible to finalize or kill a note ALSO following standard neovim commands? If I save and quit :wq (or other equivalent command) the buffer, then it should be finalized, if I quit without saving q! (or other equivalent command) it should be killed.

Feature value

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the note-finalization and note-killing entry points associated with org_note_finalize and org_note_kill, then inspect how Neovim handles :wq and q!. Define the behavior for equivalent save-and-quit and quit-without-saving commands, and add coverage showing that each command triggers the corresponding note action.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.