nvim-orgmode / orgmode

Orgmode clone written in Lua for Neovim 0.9+.
https://nvim-orgmode.github.io/
MIT License
2.88k stars 127 forks source link

Pomodoro/Org Timer in org-mode #454

Open sudheer opened 1 year ago

sudheer commented 1 year ago

Does this feature exist in Emacs orgmode core?

Yes

Orgmode link

Currently emacs support built in pomodoro timer in org mode. Also there are plugins that support pomodoro like org-pomodoro. Can we support this feature in nvim-orgmode ?

Another Implementation: taskwarrior has similar tool called timewarrior which is supported by taskwiki which works with vimwiki.

https://orgmode.org/manual/Timers.html https://timewarrior.net

Feature value

No response

Additional context

No response

jgollenz commented 1 year ago

In general, this port tries to only support features that are in Emacs orgmode. I couldn't find any mention of pomodoro on the first link. Are you using the features described there in a pomodoro way or is there specific support for pomodoro in Emacs orgmode? If yes, please share a link to it :+1:

Regarding 'timewarrior': it's not an expressed goal to add features like these to this port. We do have an API (although I just noticed that it is not documented in our wiki, I will change that) which you can use to build a neovim plugin that acts as a bridge between nvim-orgmode and timewarrior. It's very likely that the API does not yet support everything you need to get this working, as it is still a work in progress. But it helps a lot when people report what they actually need, instead of just adding whatever we think people might need.

sudheer commented 1 year ago

HI @jgollenz Thanks for the reply and details.

In the link, you can see details under C-c C-x ; (org-timer-set-timer).

My intention is to easily find tasks and set timer on them, work for some duration. Those timer details can be aggregated later to see how much time worked on each task. Happy to explore the API option to see if we can build plugin. Thank you again.

kristijanhusak commented 1 year ago

Thanks for the references @sudheer . We can put this on a roadmap, it is indeed a built-in feature. @jgollenz I think by Pomodoro he meant relative timer. You basically provide a start time in minutes when you are starting the timer, and when it counts down to 0, it stops and notifies the user.