neorg icon indicating copy to clipboard operation
neorg copied to clipboard

feat(gtd.ui): add keybind to add captured task and directly capture a new one

Open AckslD opened this issue 3 years ago • 9 comments

This adds a keybind n in the capture popup which adds the current one to the inbox and directly starts capturing a new one.

I was also thinking it could be nice to have one more option to capture another task with the same context as the current one, any thoughts? Although not fully sure how to do that in a nice way.

AckslD avatar May 17 '22 20:05 AckslD

haven't looked at the code yet but would it be possible that you can press n, a variable gets set and then you can still place it at different places (idk if that makes sense) so you could at any time in the capturing process press n and then e.g. add it to cursor position and the capture a new one

max397574 avatar May 17 '22 20:05 max397574

Just so I understand you correctly @max397574, do you mean that you when the variable is enable then if you press eg <CR> as normal to add to inbox you still get a a prompt for a new capture, and also for placing it at other positions?

I guess it would then be nice if the variable is visualised in some way, with a checkbox or so. Is it easy to redraw the prompt window?

AckslD avatar May 18 '22 07:05 AckslD

yes you got it I also though about how we should show it I think it should be possible to somehow display that value with the selection popup

max397574 avatar May 18 '22 07:05 max397574

@AckslD is this done?

max397574 avatar Jun 21 '22 18:06 max397574

No sorry, I haven't had time to investigate what you suggested.

AckslD avatar Jun 21 '22 19:06 AckslD

no worries I was just looking through some prs an issues

max397574 avatar Jun 21 '22 19:06 max397574

Actually @max397574! Do you have any thoughts on how to achieve that, in particular to display the variable in the prompt? I realised that I'm not really sure how to do it so any tips would be useful :)

AckslD avatar Jun 22 '22 20:06 AckslD

I'll have a look tomorrow. We plan to rewrite big parts of the capture functionality anyways. So we could implement this then.

max397574 avatar Jun 22 '22 20:06 max397574

@max397574 Is there a rough timeframe for this re-write? I'm just wondering if it's worth trying to implement this here or better to just wait as you also mention.

AckslD avatar Jun 27 '22 07:06 AckslD

Closing this as GTD is no longer active on 1.0.0 neorg. We'll create a PR/discussion that centralizes all GTD talk and needs

danymat avatar Dec 23 '22 21:12 danymat