|
# Navigation
|
|
cmd - h : yabai -m window --focus west
|
|
cmd - j : yabai -m window --focus south
|
|
cmd - k : yabai -m window --focus north
|
|
cmd - l : yabai -m window --focus east
|
|
|
|
# Moving windows
|
|
shift + cmd - h : yabai -m window --warp west
|
|
shift + cmd - j : yabai -m window --warp south
|
|
shift + cmd - k : yabai -m window --warp north
|
|
shift + cmd - l : yabai -m window --warp east
|
|
|
|
# Move focus container to workspace
|
|
shift + cmd - 1 : yabai -m window --space 1
|
|
shift + cmd - 2 : yabai -m window --space 2
|
|
shift + cmd - 3 : yabai -m window --space 3
|
|
shift + cmd - 4 : yabai -m window --space 4
|
|
shift + cmd - 5 : yabai -m window --space 5
|
|
shift + cmd - 6 : yabai -m window --space 6
|
|
shift + cmd - 7 : yabai -m window --space 7
|
|
shift + cmd - 8 : yabai -m window --space 8
|
|
shift + cmd - 9 : yabai -m window --space 9
|
|
shift + cmd - 0 : yabai -m window --space 10
|
|
|
|
|
|
# Resize windows
|
|
ctrl + alt - h : \
|
|
yabai -m window --resize left:-100:0 ; \
|
|
yabai -m window --resize right:-100:0
|
|
|
|
ctrl + alt - j : \
|
|
yabai -m window --resize bottom:0:100 ; \
|
|
yabai -m window --resize top:0:100
|
|
|
|
ctrl + alt - k : \
|
|
yabai -m window --resize top:0:-100 ; \
|
|
yabai -m window --resize bottom:0:-100
|
|
|
|
ctrl + alt - l : \
|
|
yabai -m window --resize right:100:0 ; \
|
|
yabai -m window --resize left:100:0
|
|
|
|
# Float and center window
|
|
shift + alt - c : yabai -m window --toggle float;\
|
|
yabai -m window --grid 4:4:1:1:2:2
|
|
|
|
# Set insertion point for focused container
|
|
shift + ctrl + alt - h : yabai -m window --insert west
|
|
shift + ctrl + alt - j : yabai -m window --insert south
|
|
shift + ctrl + alt - k : yabai -m window --insert north
|
|
shift + ctrl + alt - l : yabai -m window --insert east
|
|
|
|
# Float / Unfloat window
|
|
ctrl + alt - space : yabai -m window --toggle float
|
|
|
|
# Make fullscreen
|
|
ctrl + alt - f : yabai -m window --toggle zoom-fullscreen
|
|
|
|
# Change desktop
|
|
cmd - 1 : yabai -m space --focus 1
|
|
cmd - 2 : yabai -m space --focus 2
|
|
cmd - 3 : yabai -m space --focus 3
|
|
cmd - 4 : yabai -m space --focus 4
|
|
cmd - 5 : yabai -m space --focus 5
|
|
cmd - 6 : yabai -m space --focus 6
|
|
cmd - 7 : yabai -m space --focus 7
|
|
cmd - 8 : yabai -m space --focus 8
|
|
cmd - 9 : yabai -m space --focus 9
|
|
cmd - 0 : yabai -m space --focus 10
|
|
|
|
# Destroying windows:
|
|
shift + cmd - c : yabai -m window --close
|
|
|
|
# fast focus desktop
|
|
cmd - tab : yabai -m space --focus recent
|
|
# cmd + alt - 1 : yabai -m space --focus 1
|
|
|
|
shift + cmd - t : yabai -m window --toggle split
|
|
shift + cmd - x : yabai -m space --mirror x-axis
|
|
shift + cmd - y : yabai -m space --mirror y-axis
|
|
shift + cmd - r : yabai -m space --rotate 90
|
|
shift + cmd - s : yabai -m window --swap next \
|
|
yabai -m window --focus west
|
|
|
|
|
|
# Apps:
|
|
shift + cmd - return : open -n -a "Alacritty"
|
|
shift + cmd - e : emacs
|
|
shift + cmd - b : open -n -a "Brave Browser"
|
|
shift + cmd - f : /usr/local/bin/cfiles
|
|
shift + cmd - n : open -R /Users/gmarx/
|