PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[FancyZones] Map keyboard shortcuts to zones directly to zone windows quicker

Open kraoli opened this issue 4 years ago • 48 comments

I want to hit a user definable shortcut and the focused window should resize to the zone which is mapped to this shortcut .

I would map some keys e.g. on the numpad to my e.g. 4 zones. Now I can just press one of these keys and my windows is resized to the chosen zone.

Cycling with WIN + arrow is nice, but just hitting a key is a lot faster!

kraoli avatar Oct 10 '19 01:10 kraoli

Seems like a good suggestion for a general purpose shortcut key manager (which is a PT utility on the backlog).

indierawk2k2 avatar Oct 11 '19 16:10 indierawk2k2

+1 to this. This is precisely how I would want use it. This allows me to hook this up to tools like Dragon Naturally Speaking / Windows Voice Recognition so it's voice enabled. Thanks to the team for working on a window manager! This is great for large monitors.

bizerk44 avatar Nov 11 '19 21:11 bizerk44

+1 to this. I would also like to use hotkeys to snap windows to the specified FancyZones rather than iterate through using Win + arrow.

mac-tron avatar Jan 01 '20 21:01 mac-tron

I would love to see this, I've cobbled together various Autohotkey solutions and being able to nix them and having this capability in FancyZones would be fantastic!

natesubra avatar Mar 25 '20 23:03 natesubra

+1 to this :-)

eliahreimers avatar Jun 05 '20 11:06 eliahreimers

Two additional thoughts on this feature, both coming from gTile:

  1. Allow keyboard shortcuts to go to a Zone in any Layout
  2. Allow one keyboard shortcut to be assigned to multiple Layout/Zones, which would cycle through them

The gTile shortcut interface is pretty clunky, and it limits you to one layout grid per shortcut. FancyZones could have more powerful separate layouts that don't adhere to X-by-Y grids, and a nice UI for setting the shortcuts would be possible.

Cycling through multiple zones is important to me because as a developer on a laptop without a numpad, I have very few unused shortcuts available. With gTile I use a modifier and just 3 keys (j, k, and l) to cycle windows in different priority grids as for my 4k monitor and laptop screen.

Jerph avatar Aug 03 '20 16:08 Jerph

+1 - this could even be mapped through the PT Keyboard Manager?

MaxR0SS avatar Sep 01 '20 08:09 MaxR0SS

+1 for this feature

igpit avatar May 14 '21 08:05 igpit

I would love to see this, I've cobbled together various Autohotkey solutions and being able to nix them and having this capability in FancyZones would be fantastic!

Same here 👍

soticoker avatar Sep 24 '21 16:09 soticoker

;) +1 Need this. Maybe presswing a key combo (like win z) brings up the zones then you hit a number and the window goes to the numbered zone.

Has a vim-like feel

bwanaaa avatar Sep 27 '21 16:09 bwanaaa

This will be super helpful to have. Pretty please!!!

bbhenry avatar Oct 02 '21 10:10 bbhenry

+1 Would love to see this feature <3

Foxeronie avatar Oct 10 '21 11:10 Foxeronie

Would love to see keybinding support to move current window to any zone. This would replace my longtime favorite GridMove for window position management on my 4k 40" monitor. With that setup I would use win+[1-9] to quickly snap a window to any of my locations.

tmuka avatar Oct 21 '21 20:10 tmuka

This feature would be the reason to stop using bloated software made by others.

patosar avatar Oct 24 '21 07:10 patosar

+1 I have no idea why this functionality doesn't exist. To me it makes no sense to not have this baked in from the start.

light-foot avatar Oct 27 '21 13:10 light-foot

+1 this would enable same functionality as macOs magnet/spectacle app

jordigarcl avatar Jan 15 '22 16:01 jordigarcl

+100

Magnet does this for mac and its incredibly more efficient. Team, PLEASE hear us on this. Its been almost 3 years this this request was made.

troybrave avatar Feb 02 '22 14:02 troybrave

+1 Using UltrawideWindows on KDE which is super fast to move windows around. Would love this on windows as well.

JensVanhooydonck avatar Feb 24 '22 07:02 JensVanhooydonck

+1 I use a Stream Deck for productivity purposes, and being able to use keyboard shortcuts to snap windows to zones would make it far easier to launch and position or move a suite of applications with one button press (there are ways to achieve this with the deck already, but they are comparatively clunky).

Mushhushshu avatar Mar 02 '22 12:03 Mushhushshu

+1 Moving to Windows after using Magnet on Mac. This would be a great feature addition.

quartermyle avatar Mar 12 '22 18:03 quartermyle

+1 I have three monitors and this feature will be very helpful.

karpach avatar Mar 15 '22 15:03 karpach

Can y'all use the 👍🏼 instead of commenting "+1"? There are 23 of us subscribed to this issue and each time you comment we get a notification.

image

Thanks!

jsjoeio avatar Mar 15 '22 16:03 jsjoeio

Another relevant use for this feature, is to combine this with Autohotkey (and automate). Namely, one can open x apps and place each of them in a specific place on the screen. This is like having a preset "control room" at the press of a button! (notably, this cannot be done with the current hotkeys that cycle between zones, because it depends on the current position)

marco-coraggio avatar Oct 25 '22 09:10 marco-coraggio

Well this is an old issue and simmilar things pop up from time to time. i just "discovered" (as in 'finally installed') fancyzones on my pc with an ultrawide and really like it so far. I was using divvy before and the only thing i am now missing are zone hotkeys. Not sure how viable it is as an replacement without it.

karatektus avatar Jan 22 '23 17:01 karatektus

I am just curious how these boards work. There multiple duplicates of these threads and lots of people asking for the same thing. Does that actually have an impact on what is features are added or is it just a fun but pointless exercise.

Also, is this feature likely to be included?

NB. I am asking this unironically and not criticising in anyway.

newmaidumosa avatar Mar 29 '23 19:03 newmaidumosa

This would be a massive boon for my productivity. Having a assignable hotkeys to snap the active window to the selected zone with win + 1 2 3 4 5 seems like the obvious choice. Hope this gets prioritized and shipped.

Gavin-Whitesitt avatar Sep 01 '23 00:09 Gavin-Whitesitt

It's to be noted that this key combination is already assigned to starting apps pinned in the taskbar. However, there could be an option to overwrite the default behavior of the key combination with this one, or this new behavior could be activated by pressing win + shift + number. Honestly, it seems also pretty easy to implement, at least from an outside perspective. I hope this feature can be implemented soon: lots of people are wishing for it 🤞😊

marco-coraggio avatar Sep 01 '23 09:09 marco-coraggio

Please move it up in the priority list it should be easy enough to implement. It's been 4 years...

xplatinum avatar Sep 02 '23 16:09 xplatinum

Now that numpad can be mapped separately from top number row, would be great to use numpad to Fancy zones or use the numpad as arrow keys, so we can keep both windows default win+up/down/left/right and use the corresponding numpad keys for Fancy zones.

Lucas Figueiró

Em sáb., 2 de set. de 2023 13:06, xplatinum @.***> escreveu:

Please move it up in the priority list it should be easy enough to implement. It's been 4 years...

— Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/492#issuecomment-1703874744, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNXST4MAQOQEDQXIO4CQWDXYNKO3ANCNFSM4I7GVLKA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

lucfig avatar Sep 02 '23 19:09 lucfig

On Windows 11, Win + Z shortcut opens a popup window to snap a window to a specific location without using mouse.

For example, this key sequence, snaps the window to middle large area on my ultrawide screen. Win + Z 6 2

image image

On FancyZones, we already can assign a number to a custom layout. Zones on a layout also have numbers assigned them.

For example Win + Shift + Z shortcut can open a similiar FancyZones popup which lists numbered custom layouts. Clicking a number selects the layout, than clicking the second number snaps the window.

fthdgn avatar Sep 14 '23 23:09 fthdgn