Skip to content

Instantly share code, notes, and snippets.

@Unayung
Created September 18, 2025 01:19
Show Gist options
  • Save Unayung/8e441910d2fd89673373f95322fc9232 to your computer and use it in GitHub Desktop.
Save Unayung/8e441910d2fd89673373f95322fc9232 to your computer and use it in GitHub Desktop.
~/.skhdrc
# Moving windows
ctrl + alt + shift - h : yabai -m window --warp west
ctrl + alt + shift - j : yabai -m window --warp south
ctrl + alt + shift - k : yabai -m window --warp north
ctrl + alt + shift - l : yabai -m window --warp east
#cmd + ctrl + alt + shift - up : yabai -m window --focus north
#cmd + ctrl + alt + shift - down : yabai -m window --focus south
#cmd + ctrl + alt + shift - left : yabai -m window --focus west
#cmd + ctrl + alt + shift - right : yabai -m window --focus east
cmd + ctrl + alt + shift - k : yabai -m window --focus north
cmd + ctrl + alt + shift - j : yabai -m window --focus south
cmd + ctrl + alt + shift - h : yabai -m window --focus west
cmd + ctrl + alt + shift - l : yabai -m window --focus east
cmd + ctrl + alt + shift - m : yabai -m window --focus next || yabai -m window --focus first
# rotate layout
cmd + ctrl + alt + shift - n : yabai -m space --rotate 90
# toggle
cmd + ctrl + alt + shift - v : yabai -m window --toggle float --grid 16:16:1:1:14:14
# swap
cmd + ctrl + alt + shift - y : yabai -m window --swap west
cmd + ctrl + alt + shift - u : yabai -m window --swap south
cmd + ctrl + alt + shift - i : yabai -m window --swap north
cmd + ctrl + alt + shift - o : yabai -m window --swap east
# stop/start/restart yabai
cmd + ctrl + alt + shift - q : yabai --stop-service
cmd + ctrl + alt + shift - s : yabai --start-service
cmd + ctrl + alt + shift - r : yabai --restart-service
# resize window
cmd + ctrl + alt + shift - right : yabai -m window --resize right:20:0
cmd + ctrl + alt + shift - left : yabai -m window --resize right:-20:0
cmd + ctrl + alt + shift - up : yabai -m window --resize top:0:-20
cmd + ctrl + alt + shift - down : yabai -m window --resize top:0:20
# application hotkey
cmd + ctrl + alt + shift - 1 : open -a Warp
cmd + ctrl + alt + shift - 2 : open -a Cursor
cmd + ctrl + alt + shift - 3 : open -a "Microsoft Edge"
cmd + ctrl + alt + shift - a : open -na "Microsoft Edge" --args --app="https://chatgpt.com"
cmd + ctrl + alt + shift - x : open -na "Microsoft Edge" --args --app="https://x.com"
cmd + ctrl + alt + shift - 4 : open -na "Microsoft Edge" --args --app="http://localhost:3000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment