RStankov / FocusedTask

MacOS menu bar todo app built with Electron, React and Redux. It goals is to help you do deep work.
MIT License
138 stars 22 forks source link

Keyboard shortcut for toggling lists #12

Closed hkdobrev closed 3 years ago

hkdobrev commented 3 years ago

Could we have a shortcut which would toggle between different lists?

The global shortcut is very useful, but if I have a personal and a work list it'd be easier if I can use just the keyboard to switch between them after using the global shortcut to show the app.

RStankov commented 3 years ago

I have the same issue. I still haven't figured out a good shortcut for this. I'm open to ideas?

hkdobrev commented 3 years ago

Use the shortcut for switching between application windows. It's Cmd + ` on macOS.

RStankov commented 3 years ago

I like this idea. Will implement 🙌

RStankov commented 3 years ago

✅ Added and released

This was surpassingly tricky to implement 😅

Because "CMD + `" is system shortcut, I had to overwrite and restore when using the app.

https://github.com/RStankov/FocusedTask/commit/d99e9ecb2e321ddb80ff17cd46ab3be461825ab9