Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shift-rightarrow or leftarrow to reschedule the task #9

Open
balaramadurai opened this issue Aug 2, 2023 · 4 comments
Open

Shift-rightarrow or leftarrow to reschedule the task #9

balaramadurai opened this issue Aug 2, 2023 · 4 comments

Comments

@balaramadurai
Copy link

Hi @ichernyshovvv,
Wonderful package! Loving it!

May we have shift-rightarrow or shift-leftarrow for rescheduling the selected task? This will be very useful and consistent with org-agenda.

Thanks and have a great day!
Bala

@ichernyshovvv
Copy link
Owner

Hi, thank you

Could you please explain why this would be helpful? I think that current method of rescheduling is the most efficient and precise way. Instead of inaccurately rescheduling tasks with several presses of Shift-right/left arrow, you could just press [s] and enter the exact time you need (format: HHMM).

@yantar92
Copy link

yantar92 commented Aug 6, 2023 via email

@ichernyshovvv
Copy link
Owner

ichernyshovvv commented Aug 10, 2023

The problem is that each reschedule command involves org-ql call to get the new data. So, redisplay of the buffer takes a time. With reschedule commands bound to Shift+up/down (e.g. reschedule to prev/next 30 mins) it would felt laggy. Just moving around rectangles seems to be responsive for me though:

https://youtu.be/yhMwR2UaLkY

One possible solution to increase the speed of moving timeblocks around is to implement a variable that holds all the pending changes (rescheduling, TODO status changes, etc) as a stack. That way, it's also much easier to implement undo commands. The pending operations could be applied by calling a special command for that (e.g. ot-apply-changes [a]).

@yantar92
Copy link

yantar92 commented Aug 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants