-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_skhdrc
45 lines (37 loc) · 1.7 KB
/
dot_skhdrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# general window management
alt - e : yabai -m window --toggle split
alt - r : yabai -m space --rotate 90
alt - t : yabai -m window --toggle float
alt - d : yabai -m window --toggle zoom-parent
alt - f : yabai -m window --toggle zoom-fullscreen
alt - x : yabai -m window --close
# focus window
alt - h : yabai -m window --focus west || yabai -m window --focus stack.prev || yabai -m window --focus stack.last
alt - j : yabai -m window --focus south
alt - k : yabai -m window --focus north
alt - l : yabai -m window --focus east || yabai -m window --focus stack.next || yabai -m window --focus stack.first
# swap window within space
alt + shift - h : yabai -m window --swap west
alt + shift - j : yabai -m window --swap south
alt + shift - k : yabai -m window --swap north
alt + shift - l : yabai -m window --swap east
# move window within space
alt + ctrl - h : yabai -m window --warp west
alt + ctrl - j : yabai -m window --warp south
alt + ctrl - k : yabai -m window --warp north
alt + ctrl - l : yabai -m window --warp east
# focus on spaces
lalt - 1 : yabai -m space --focus 1
lalt - 2 : yabai -m space --focus 2
lalt - 3 : yabai -m space --focus 3
lalt - 4 : yabai -m space --focus 4
lalt - 5 : yabai -m space --focus 5
# move window to space
shift + lalt - 1 : yabai -m window --space 1 && yabai -m space --focus 1
shift + lalt - 2 : yabai -m window --space 2 && yabai -m space --focus 2
shift + lalt - 3 : yabai -m window --space 3 && yabai -m space --focus 3
shift + lalt - 4 : yabai -m window --space 4 && yabai -m space --focus 4
shift + lalt - 5 : yabai -m window --space 5 && yabai -m space --focus 5
# app shortcuts
meh - return : open -na /Applications/Alacritty.app
meh - b : open -na /Applications/Brave\ Browser.app