mkdnflow.nvim icon indicating copy to clipboard operation
mkdnflow.nvim copied to clipboard

Feature: Integration with taskwarrior CLI

Open jakewvincent opened this issue 2 years ago • 5 comments

https://taskwarrior.org/

  • Add task to taskwarrior task list
  • Append task metadata to task in mkdnflow once added to taskwarrior
  • Update status of a task in mkdnflow -> update task status in taskwarrior
  • ...

jakewvincent avatar Oct 19 '22 21:10 jakewvincent

@jakewvincent Great idea. I've recently started using taskwarrior (after dabbling in org mode) and really like it. I've been using the taskwiki plugin and I like the more "dynamic" approach to integrating tasks in the notes using views. Have you looked into this at all? If so, how do you feel about this approach? I've been planning on digging through the code to see how viable it would be to:

  1. Decouple it from vimwiki and make it compatible with native markdown (possibly leveraging treesitter)
  2. Re-implement in Lua.

Would love to have a more pared-down markdown experience through mkdnflow but also retain the ability to incorporate more complicated functionality through modules.

ellislm avatar Oct 21 '22 03:10 ellislm

If you're interested, I have some basic implementation that works by leveraging Telescope capabilities. This is intended for personal use, so the code is a mess, but if you're interested, I could work more on it and share the code. You can define a task filter on any of the pages and open the tasks related to that filter in Telescope with basic keybinding for completing the task Here is a brief showcase:

mkdnflow-tw

kofm avatar Nov 30 '22 07:11 kofm

@kofm I'd definitely be interested in trying out what you've built if you're willing to share your code!

jakewvincent avatar Jan 02 '23 00:01 jakewvincent

@jakewvincent Thanks for motivating me to pursue a project that has been bouncing around in my head for some time now. Maybe it will be of interest to you.

@kofm Sorry for the heartless theft of your idea, but it's a shame your plugin isn't public, otherwise I probably wouldn't have pursued it. I hope you're not angry with me🙃

https://github.com/ribelo/taskwarrior.nvim

ribelo avatar Mar 14 '23 14:03 ribelo

Absolutely not! I'm very happy that someone found some time to work on the idea. I moved to org mode so I've not been very motivated to continue the project and (more importantly) to clean my messy code! Your implementation looks for sure much more clean

Thank you for letting me know :)

kofm avatar Mar 15 '23 09:03 kofm