Skip to content

Allow shifting dates using square bracket keys #51

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

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

nicolaisingh
Copy link
Contributor

Hello @kaorahi san,

Sending a pull request to add functionality that allows shifting dates using keys [ and ] from the date menu.
Please feel free to modify it if you have a better approach. I was contemplating whether to add also a month and week adjustment but decided in the end that this will suffice for now.

I am aware that there is the +num functionality, however, it requires me to count first mentally how many days whenever I need to apply an adjustment. The suggested change will allow me to quickly adjust the dates while still seeing in the echo area what day the adjusted date will be (eg. From a Friday, move the date to the next Wednesday).

kaorahi added a commit that referenced this pull request Feb 17, 2025
kaorahi added a commit that referenced this pull request Feb 17, 2025
kaorahi added a commit that referenced this pull request Feb 17, 2025
@kaorahi
Copy link
Owner

kaorahi commented Feb 17, 2025

Hi, @nicolaisingh san. Thank you for your interesting PR. I'll merge it and make a few tweaks.

https://github.com/kaorahi/howm/tree/for51_shiftdates

As usual, I'd like to give it a few days to settle.

@nicolaisingh
Copy link
Contributor Author

Thanks! I will use your new branch for some time to test it out.

@kaorahi kaorahi merged commit 73c8ef1 into kaorahi:master Feb 20, 2025
kaorahi added a commit that referenced this pull request Feb 20, 2025
kaorahi added a commit that referenced this pull request Feb 20, 2025
kaorahi added a commit that referenced this pull request Feb 20, 2025
@kaorahi kaorahi mentioned this pull request Feb 20, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants