chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.5k stars 136 forks source link

[FEATURE REQUEST] More Capture locations options #525

Open Smitty010 opened 1 year ago

Smitty010 commented 1 year ago

Is your feature request related to a problem? Please describe. It's awkward having Captures only able to go to the top or the bottom or after a header. Sometimes none of those places make sense. I especially notice this with the AI pipelines

Describe the solution you'd like I would like to be able to put the value at the current cursor location ("Insert after cursor"). If there is text selected, then I would vote for putting it right after the selection (perhaps with a CR in between)

Additional context Add any other context or screenshots about the feature request here.

st-- commented 7 months ago

@chhoumann this seems related so instead of opening yet another issue I assumed it might be better to build on this one (let me know if you'd prefer me to open a new one!) -

QuickAdd now does provide an option to insert at the cursor position.

However, if I want to use this to add new tasks, it only works reliably if my cursor is at the start of a line (or, if I change the capture format to include a newline at the beginning, if the cursor is at the end of a line), as it literally adds a task in the middle of the line.

Would it be possible to allow QuickAdd to add a capture (particularly if it's supposed to be a task!) as a new line below or above the cursor position?