ianyh / Amethyst

Automatic tiling window manager for macOS à la xmonad.
https://ianyh.com/amethyst/
MIT License
14.74k stars 487 forks source link

Directional focus #521

Open darvelo opened 7 years ago

darvelo commented 7 years ago

I see you recently added BSP support. Thanks for this!!

With bspwm I enjoyed having keyboard shortcuts for directional focus, a la:

# focus the node in the given direction
super + {_,shift + }{h,j,k,l}
    bspc node -{f,s} {west,south,north,east}

I don't know if this is possible with Amethyst, but it would be a cool way to focus windows without having to cycle through all of them.

Thanks for the amazing work on Amethyst so far. I'm new to macOS and it's eased my transition from Linux tremendously.

Trello Card

jxitc commented 5 years ago

I'm really interested in this feature. I'm wondering if I can help to implement this feature?

Found in FocusTransitionCoordinator.swift, uses nextWindowIDClockwise for finding the next window in clockwise. Probably need to implement something like nextWindowRight, nextWindowLeft, nextWindowUp, nextWindowDown respectively.

Still reading the code to find out how to do this

vicecaycedo commented 3 years ago

Is there any update on this?

Cycling through windows is a real pain and being able to navigate based on visual layout would be a huge improvement.

shahriarfahim870 commented 2 years ago

This would be a very helpful feature. I've recently switched from Yabai due to Yabai having a tons of bugs on M1 machines. I love almost everything about Amethyst except for the lack of support for directional focus.

DonaldoSoWell commented 2 years ago

Hi folks, also coming from Yabai and this feature would be a great improvement for my workflow. Would be useful on Tall and BSP layouts for example.