When creating a new task, do not overwrite current line #2982
-
Hi there, I'm trying to understand how creating a new task works. What I'd really like when creating a new task is to create a new line with the new task, rather than replacing my current line as a new task. Is this possible? I checked the settings, the limitations page, and the Q+A and discussions, and didn't see anything about this, but my apologies if I missed something. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
The behaviour is documented here, if you haven't seen that already: This is the relevant section: |
Beta Was this translation helpful? Give feedback.
-
Yes, it is, via the Tasks API. There is an example of a QuickAdd script to invoke the Create or edit Task Modal to create a new task. You can use QuickAdd to also add a new line... https://publish.obsidian.md/tasks/Advanced/Tasks+Api This is not something we would have the capacity to help with, however. |
Beta Was this translation helpful? Give feedback.
OK, however, once a behaviour is documented, the barrier to changing it is really, really high. Hence pointing out that the behaviour you are describing is the documented, intentional behaviour...
Anyway, another possibility is to use the Macro facility in the Commander plugin to create a macro command that:
Then you can add a hotkey for the new command...