Yabai: [Question] How to go from a vertical split to a horizontal split?

Created on 13 May 2020  路  4Comments  路  Source: koekeishiya/yabai

Sorry if it's a noob question but I've been using chunkwm/yabai for ~2 years and I haven't figured this out yet.

Let's say I have two windows like this:

==========================
        window 1
--------------------------
        window 2
==========================

How can I change it to this?

==========================
            |
  window 1  |  window 2
            |
==========================
question

Most helpful comment

Three ways:

  • yabai -m window --toggle split
  • Drag window 1 to the left quarter of window 2
  • Drag window 2 to the right quarter of window 1

All 4 comments

Three ways:

  • yabai -m window --toggle split
  • Drag window 1 to the left quarter of window 2
  • Drag window 2 to the right quarter of window 1

One more (hacky) option?

yabai -m space --rotate 90

@johnallen3d thanks! this is what I used to do, but the behavior wasn't what I expected when a display has 3+ windows

Makes sense @denisidoro! I just tried out yabai -m window --toggle split with 3 windows. 馃槏

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brorbw picture brorbw  路  4Comments

brentd picture brentd  路  4Comments

ThiagoFacchini picture ThiagoFacchini  路  4Comments

limeless picture limeless  路  5Comments

eramdam picture eramdam  路  3Comments