Skip to content

Choose the default TODO keyword on new created headlines when you don't want the first keyword #897

Open
@lyz-code

Description

@lyz-code

Describe the bug

If you define the next keywords order because is the one you want it to have in the agendas

        org_todo_keywords = {
          "WAITING(w)",
          "DOING(d)",
          "READY(r)",
          "TODO(t)",
          "INACTIVE(i)",
          "|",
          "DONE(e)",
          "REJECTED(j)",
          "DUPLICATE(u)",
        },

When you create a new headline with org_insert_todo_heading or org_insert_todo_heading_respect_content the TODO keyword will be WAITING instead of TODO.

Steps to reproduce

Create a headline with the scenario described above

Expected behavior

The new created headline has the TODO keyword, or the one the user chooses

Emacs functionality

No response

Minimal init.lua

-- Enter your minimal_init.lua here

Screenshots and recordings

No response

OS / Distro

Linux

Neovim version/commit

0.10.4

Additional context

I implemented a fix for this case in this pr using the org_todo_default_state configuration option

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions