-
-
Notifications
You must be signed in to change notification settings - Fork 233
Todo Items
This module handles the whole concept of toggling TODO items, as well as updating parent and/or children items alongside the current item.
The following keybinds are exposed:
-
core.qol.todo_items.todo.task_done(<LocalLeader>td) -
core.qol.todo_items.todo.task_undone(<LocalLeader>tu) -
core.qol.todo_items.todo.task_pending(<LocalLeader>tp) -
core.qol.todo_items.todo.task_on_hold(<LocalLeader>th) -
core.qol.todo_items.todo.task_cancelled(<LocalLeader>tc) -
core.qol.todo_items.todo.task_recurring(<LocalLeader>tr) -
core.qol.todo_items.todo.task_important(<LocalLeader>ti) -
core.qol.todo_items.todo.task_cycle(<C-Space>) -
core.qol.todo_items.todo.task_cycle_reverse(no default keybind)
With your cursor on a line that contains an item with a TODO attribute, press any of the above keys to toggle the state of that particular item. Parent items of the same type and children items of the same type are update accordingly.
-
create_todo_items(boolean)When
true, will automatically create a TODO extension for an item if it does not exist and an operation is performed on that item.Given the following example:
- Test ItemWith this option set to true, performing an operation (like pressing
<C-space>orgtuor what have you) will convert the non-todo item into one:- ( ) Test Itemtrue -
create_todo_parents(boolean)When set to
true, will automatically convert parent items to TODOs whenever a child item's TODO state is updated.For instance, given the following example:
- Text -- ( ) Child textWhen this option is
trueand the child's state is updated to e.g.(x)via thegtdkeybind, the new output becomes:- (x) Text -- (x) Child textfalse -
order_with_children(list)The default order of TODO item cycling when the item has nested children with TODO items.
When cycling through TODO items with children it's not always sensible to follow the same schema as the
ordertable.Defaults to the following order:
undone,done.-
(list)
-
(string)
"undone" -
(string)
" "
-
-
(list)
-
(string)
"done" -
(string)
"x"
-
-
-
core.integrations.treesitter- A module designed to integrate Treesitter into Neorg.
core.autocommandscore.clipboardcore.clipboard.code-blockscore.completioncore.concealercore.defaultscore.dirmancore.dirman.utilscore.esupports.hopcore.esupports.indentcore.esupports.metagencore.exportcore.export.htmlcore.export.markdowncore.fscore.highlightscore.integrations.coq_nvimcore.integrations.nvim-cmpcore.integrations.nvim-compecore.integrations.treesittercore.iterocore.journalcore.keybindscore.latex.renderercore.looking-glasscore.neorgcmdcore.neorgcmd.commands.returncore.pivotcore.presentercore.promocore.qol.toccore.qol.todo_itemscore.queries.nativecore.scannercore.storagecore.summarycore.syntaxcore.tanglecore.tempuscore.text-objectscore.todo-introspectorcore.uicore.ui.calendar