question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

💡 [FEAT] Ability to yank and paste entire todo's

See original GitHub issue

Is your feature request related to a problem? 😢 Please describe.

I would like the ability to copy and paste entire todo’s between topics, and have the ability to copy multiple todo’s.

Describe the solution you’d like 🤔

I would like to have a solution that does the following:

  1. Y to yank entire todo’s
  2. Y if triggered on a parent todo, should copy all child todo’s to the clipboard
  3. p or P to paste a todo that has been copied
  4. Ideally, If a child node has been copied, it can be made a parent or child todo depending on where it is pasted
  5. A parent node can only be pasted as a parent todo

Describe alternatives you’ve considered 🧐

An extension of this idea would be to use D to delete and copy the selected todo, and of course I am open to alternative default bindings.

Additional context 📝

I don’t know how hard this is to implement as I have only recently started using the app and am loving it so far.

When I have some available time I will take a look at the code and if this is something you would like to include, I would be happy to help.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kraanzucommented, Nov 19, 2022

I have noticed that we cannot have two todos with the same description at the same level?

Yes, that is correct! That makes some implementation stuff easier (when the todos are changed in some other instance or changed through some plugins i.e the change in data file is not done by the user using the current instance) The only case I see where you need the same todo description is to do some recurring tasks such as:

  • Solve a problem every day
  • Get a haircut every 6 weeks

For that, I’ve implemented recurring tasks which when marked as completed just shift their date accordingly

Possibly implemented with ‘y’ for copying the node and only description with ‘Y’ would be my personal preference

I suppose we can include some of the special keybindings in the configuration file to tweak as per the user’s preference I was also thinking to implement multi-key presses as we have in vim (if you are familiar) such as <space>p and dd but that would require some good implementation. We can do that tho!

1reaction
kraanzucommented, Nov 19, 2022

Cannot quit using ctrl + q

Done!

Cannot use escape to exit the help menu

Fixed!

Freezing (seems to be when doing things quickly)

I’ve implemented lazy load. Can you check if it’s still freezing for ya?

Edit:

I’ve implemented lazy load. Can you check if it’s still freezing for ya?

Nah Ig this ain’t making any difference. It’s the framework 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

Copy all the lines to clipboard - vim - Stack Overflow
Use: : % y +. to yank all lines. Explanation: % to refer the next command to work on all the lines; y...
Read more >
Copy and Paste to/from Vim from/to Other Programs! - YouTube
Copy and Paste to/from Vim from/to Other Programs! · Key moments. View all · Key moments · Description · Key moments. View all...
Read more >
Add Tasks Faster with Our New Copy-Paste Feature - Any.do
Simple. All you need to do is copy a list of items from anywhere you'd like to your device's clipboard. Then, open up...
Read more >
Copy & Paste in Vim / Vi - Warp
3yy: To yank multiple lines in vim, type in the number of lines followed by yy. This command will copy (yank) 3 lines...
Read more >
27 events happening in Tucson this weekend Dec. 22-25
What's going on in Tucson, Arizona this weekend: Holiday and Christmas lights, Hanukkah events and menorah lightings, movies, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found