vim-taskwarrior icon indicating copy to clipboard operation
vim-taskwarrior copied to clipboard

Is there an alternative project to vim-taskwarrior?

Open AdrienLemaire opened this issue 6 years ago • 9 comments

Hi @blindFS, I've just found this plugin from this article, and I notice there hasn't been any update in 3 years. Are you aware of an alternate vim plugin that is up to date with the latest TaskWarrior v2.5?

AdrienLemaire avatar May 10 '19 07:05 AdrienLemaire

It seems the author has abandoned the project. I just created a fork https://github.com/xarthurx/vim-taskwarrior and added the functionality I need for supporting native Windows through WSL. (anything else is the same at the moment.)

Hopefully, I will add more functions little by little, including supporting newer TaskWarrior versions etc.

xarthurx avatar May 12 '19 22:05 xarthurx

I work since a while on an alternative project called Kronos. It is a simplified taskwarrior + timewarrior, with an UI like Vimwiki.

vim-taskwarrior inspired me, and I'm sad to see that it's abandoned. It could be interesting to merge these 2 projects (with @xarthurx fork also). We could keep the kronos UI, and add the taskwarrior integration from vim-taskwarrior (at least the sync). This way you keep the simplicity of kronos, but the ability to do some complex stuff via taskwarrior directly.

Feel free to open an issue if you are interested https://github.com/soywod/kronos.vim/issues.

soywod avatar Jun 08 '19 09:06 soywod

@soywod I had a quick glace at Kronos. It looks appealing.

You propose:

We could keep the kronos UI, and add the taskwarrior integration from vim-taskwarrior (at least the sync).

If I understand things correctly, Kronos has its own protocol and each client has its own database. I wonder whether the Kronos protocol is compatible taskwarrior. Where should tasks be mainly stored? In the taskwarrior database or in Kronos? Or do you propose to always sync them?

heiderich avatar Jul 13 '19 11:07 heiderich

@heiderich I was thinking to turn Kronos into a simple GUI. The database could be managed by Taskwarrior / Timewarrior (or any compatible backend, I had in mind Watson for example). What do you think?

soywod avatar Jul 13 '19 12:07 soywod

@soywod I am using taskwarrior and would like to continue using it. Therefore I am personally not very inclined to switch to a product that does not allow me to continue using taskwarrior. However vim-taskwarrior is way to slow for me (see also https://github.com/blindFS/vim-taskwarrior/issues/24). I am not sure what the reason for its bad performance is. Do you think Kronos could be better in this respect? If so, how?

heiderich avatar Jul 13 '19 16:07 heiderich

@heiderich the fact to have Taskwarrior (or any kind of backend) will not impact the perf (since everything will be async). I will work on it soon. You can open a PR if you want.

soywod avatar Jul 14 '19 07:07 soywod

@heiderich based on my test, it is mainly caused by the multiple calls of task shell command from VIM for updating information, etc.

It seems (correct me if I'm wrong) that TaskWarrior doesn't provide an API to get all the info at once as text so that we can process it. In that sense, for a UI in VIM with different information, multiple queries using the CLI command task xxx is needed, which causes the performance issue.

I've fixed several in my fork, but still, this is an issue when the # of projects increases.

xarthurx avatar Jul 22 '19 15:07 xarthurx

I pushed a first version of Taskwarrior as backend for Kronos. If you come from Taskwarrior, you need to activate the option, import Taskwarrior tasks into Kronos and that's all. Tasks will be synchronized from Kronos to Taskwarrior. It allows you to manage basic tasks with Kronos, and do advanced queries with Taskwarrior CLI directly.

soywod avatar Jul 23 '19 14:07 soywod