sfsam / Itsycal

Itsycal is a tiny calendar for your Mac's menu bar. http://www.mowglii.com/itsycal
MIT License
3.35k stars 234 forks source link

Up / down arrows to go back / forward by 1 week #252

Open stevecondylios opened 1 month ago

stevecondylios commented 1 month ago

Firstly, thank you for an amazing (and much needed) piece of software.

Currently up and down arrows more back and forward 1 year, this is cool but probably not used too much.

I think having up / down arrows move back and forward 1 week would be amazing.

Reason being, when you put the cursor on a specific day and you want to see what date is n weeks from that day, you just take down that many times. E.g. to find 3 weeks from next monday, put the cursor on next monday and tap down three times.

Back / forward one year could be command + left and command + right (more intuitive, since left and right currently go back / forward 1 month).

edelstone commented 1 month ago

@stevecondylios Just FYI, Shift + Up/Down will do week jumps.

stevecondylios commented 1 month ago

That's awesome. Thank you very much!! I'll be using that a lot.

Do people often jump years? I suspect jumping weeks is much more common^ so up/down should be for weeks not years. But that's my 2c. :)

Thanks again!

^ Especially for those coming from windows (where up/down goes back/forward by a week), which is probably a few of us

edelstone commented 1 month ago

Personally, I like the current setup with the arrow keys by themselves handling the bigger jumps (months and years) and the addition of the modifier key for shorter jumps (days and weeks). But I've learned this behavior over many years using the software.

There's actually quite a few keyboard shortcuts that are pretty useful: https://www.mowglii.com/itsycal/help.html#keyboard_shortcuts

sfsam commented 1 month ago

@stevecondylios You can also use a count parameter to do repeated actions with the keyboard. For your example, to see the date 3 week from the selected date, you'd type 3 and then shift-down arrow. If you don't like using the shift prefix before arrow keys for navigating weeks, you can also use the h, j, k, and l keys (Vim motions in case you're familiar) which are on the home row. So the example would simply be 3j.

stevecondylios commented 1 month ago

The ability to use vim motions made me smile. j and k are the winning keys for me (I very frequently need to skip back/ahead one or more weeks, which is a little tricky without knowing these keys, especially around month ends/starts).

This is a great for vim users. But (just my opinion) I still think up/down arrows would be more intuitive for general members of the public who use it.

For context, I honestly don't think macOS is complete without itsycal because the default macOS calendar app is so ugly/unusable. So I think everyone (not just tech folks) should install and use itsycal, but non-vim users wouldn't think j for down and k for up like a vim user may.

Thanks again for the awesome tip. My problem is 100% solved.