diff --git a/lua/neorg/modules/core/keybinds/keybinds.lua b/lua/neorg/modules/core/keybinds/keybinds.lua index 775eaccfe..e582c55de 100644 --- a/lua/neorg/modules/core/keybinds/keybinds.lua +++ b/lua/neorg/modules/core/keybinds/keybinds.lua @@ -46,6 +46,10 @@ module.config.public = { -- ^mark Task as Important { leader .. "ti", "core.qol.todo_items.todo.task_important" }, + -- Marks the task under the cursor as "ambiguous" + -- ^mark Task as ambiguous + { leader .. "ta", "core.qol.todo_items.todo.task_ambiguous" }, + -- Switches the task under the cursor between a select few states { "", "core.qol.todo_items.todo.task_cycle" }, diff --git a/lua/neorg/modules/core/qol/todo_items/module.lua b/lua/neorg/modules/core/qol/todo_items/module.lua index adfa9cb21..d033ef529 100644 --- a/lua/neorg/modules/core/qol/todo_items/module.lua +++ b/lua/neorg/modules/core/qol/todo_items/module.lua @@ -424,6 +424,7 @@ module.on_event = function(event) done = "x", important = "!", recurring = "+", + ambiguous = "?", } local match = event.split_type[2]:match(todo_str .. "task_(.+)") @@ -463,6 +464,7 @@ module.events.subscribed = { ["core.qol.todo_items.todo.task_cancelled"] = true, ["core.qol.todo_items.todo.task_important"] = true, ["core.qol.todo_items.todo.task_recurring"] = true, + ["core.qol.todo_items.todo.task_ambiguous"] = true, ["core.qol.todo_items.todo.task_cycle"] = true, ["core.qol.todo_items.todo.task_cycle_reverse"] = true, ["core.qol.todo_items.warn-deprecated-keybind"] = true,