-
Notifications
You must be signed in to change notification settings - Fork 25
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
Suggestion: Keyboard arrow support #36
Comments
Hey @ReinBentdal, I silently added a very similar feature in v1.0. When you activate Penc and select a window, you can use keyboard arrow keys to snap the window. Arrow keys just mimic whatever your 2-finger swipe gestures do. Is this what you're looking for? I think the only drawback of keyboard usage is, when you double-tap command key to activate Penc, the window under the mouse cursor is selected automatically. This behaviour is intuitive for trackpad/mouse usage, but for keyboard usage, the focused window should be selected instead 😕 But how can we differentiate between these use cases? As a workaround, I'm imagining pressing tab key to switch the selected window, but I'm not sure it's possible, since cmd + tab is a system-level shortcut. |
Wow can't believe I missed that, yes similar to what I wanted. Another suggestion: while in mission control, if you active penc (double tap CMD), it will also work here. Then using tab to select a window. And for gestures, as usual use mouse to select window and drag it. When you them release CMD, exit mission control and view specified window configuration. Maybe hard to implement? |
I like the idea that initially the focused window would be selected, but as soon as mouse moved, it switches back to selecting via cursor 👍 I think Apple doesn't allow any app to draw on top of mission control view, but not 100% sure |
Sometimes it is inconvenient to use the trackpad. For example if using external keyboard and mouse. Would be nice if it would also support resizing and docking with arrows for the currently active window.
Usage example: Doubletap command + arrow left -> docks currently active window to left
I personally use drag up for fullscreen and drag down for 1/3 width and height. With this feature this would result in the same behavior with arrow up and down.
Also possible to use diagonal gestures with for example first pressing left key and then press up key. Then if you instead want to use up-gesture, press up key again. Or if you press left key but regret, press right key to go back to initial state. Then press right key again to dock to right. Makes sense?
Anyways just spewing out my thoughts here.
The text was updated successfully, but these errors were encountered: