Open amanger-qual opened 4 months ago
same here. Tried to add a TASK to an existing TODO but unable to find how. any hint?
I also crave being able to add a task to an existing todo. Right now I have to manually add it to a note via "edit". That's not so bad, but if a todo lacks any tasks at all, I also have to manually add the Tasks section. I wish this was handled for me.
Glad you like nb
!
nb index
SubcommandThere is actually an nb index
subcommand. It has a couple subcommands that might be useful here. nb index edit
is currently only available with the latest development version:
nb index rebuild [--ancestors]
nb index reconcile
.nb index reconcile [--ancestors] [--commit]
nb index edit
The nb tasks
subcommand is currently limited to listing tasks and marking them done or undone. The logic for other task operations seems a little complicated, so I haven't tackled it yet. For example, tasks can show up anywhere in a document, and there can be multiple task lists in a single document. Tasks are indexed on the fly, so removing a task changes the index for all subsequent tasks in the document, which makes deleting multiple tasks more complicated.
I'm loving
nb
and how it's letting me store information in a whole new way! I generally useglow
to view the files because thenb show
command show the front matter metadata.I stared using
nb
to track programming tasks and new notebooks that I need to create; however i found that I can't add a task to a todo without editing the todo file myself. Could a command be introduced to add tasks to todos after the fact? It would also be great if todos indexed separately from notebooks, but maybe it works just fine for everyone else :)I'd also love to be able to reindex all the
nb
items. When an item is deleted or moved, I currently need to open up the .index file and manually reorder the lines to get the index value assignment to be sequential and in the order I desire. If there was a command likenb reindex
ornb index -r
, that would make this a lot easier!Again, love this project! I'd love to help contribute if I knew more about this kind of development, but my skill set isn't quite there. Hopefully one day soon!