Proposal: Add option to make repeated presses of shortcut key cycle through windows instead of close application
Assume I have e.g F3 as a shortcut to open Safari.
Current behaviour:
- Press F3, Safari opens front window
- Press F3 again, Safari hides
- Press F3 again, Safari opens
Proposed behaviour:
- Press F3, Safari opens front window
- Press F3 again, Safari opens next window (how cmd+` currently works)
- Press F3 again, Safari opens next window
This would greatly improve workflows where multiple windows of the same application are used, such as multiple IDE project windows or multiple separate Safari instances.
As some people may prefer the current opening and closing behaviour, this new behaviour would be enabled under a checkbox in settings.
If you would accept the PR, I would be happy to write the changes myself, though I will need some advice in how to set up the project for development and which parts of the code are responsible for the window management.
Let me know what you think! :)
Hi,
App doesn't closes, it simply "hide", like when you use cmd + H shortcut
Sorry, bad wording on my part, I've updated the above. Is this a feature you would consider merging into master if developed?
👍
I came here to request the same feature. I could try implementing it next weekend, but I don't know much swift / objc / macOS APIs so no promises 😄. Would you be willing to merge if I get it working @gbammc?