-
Notifications
You must be signed in to change notification settings - Fork 3
/
macos.aerospaceconf
98 lines (76 loc) · 2.67 KB
/
macos.aerospaceconf
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Aerospace Config: ~/.aerospace.toml
after-login-command = []
after-startup-command = []
start-at-login = true
enable-normalization-flatten-containers = false
enable-normalization-opposite-orientation-for-nested-containers = false
accordion-padding = 30
default-root-container-layout = 'tiles'
default-root-container-orientation = 'auto'
# on-focused-monitor-changed = ['move-mouse monitor-lazy-center']
automatically-unhide-macos-hidden-apps = true
[key-mapping]
preset = 'qwerty'
[gaps]
inner.horizontal = 5
inner.vertical = 5
outer.left = 5
outer.bottom = 5
outer.top = 5
outer.right = 5
[mode.main.binding]
alt-space = 'layout floating tiling'
# All possible modifiers: cmd, alt, ctrl, shift
# You can uncomment the following lines to open up terminal with alt + enter shortcut (like in i3)
# alt-enter = '''exec-and-forget osascript -e '
# tell application "Terminal"
# do script
# activate
# end tell'
# '''
alt-slash = 'layout tiles horizontal vertical'
alt-comma = 'layout accordion horizontal vertical'
alt-f = 'fullscreen'
ctrl-alt-left = 'focus left'
ctrl-alt-down = 'focus down'
ctrl-alt-up = 'focus up'
ctrl-alt-right = 'focus right'
ctrl-alt-shift-left = 'move left'
ctrl-alt-shift-down = 'move down'
ctrl-alt-shift-up = 'move up'
ctrl-alt-shift-right = 'move right'
alt-shift-minus = 'resize smart -50'
alt-shift-equal = 'resize smart +50'
ctrl-alt-cmd-left = 'move-workspace-to-monitor next'
ctrl-alt-cmd-right = 'move-workspace-to-monitor prev'
ctrl-alt-cmd-tab = 'move-workspace-to-monitor --wrap-around next'
alt-1 = 'workspace Obsidian'
alt-2 = 'workspace Chrome'
alt-3 = 'workspace Terminal'
alt-4 = 'workspace VSCode'
alt-5 = 'workspace General'
alt-6 = 'workspace Finder'
alt-7 = 'workspace 7'
alt-8 = 'workspace 8'
alt-9 = 'workspace 9'
alt-0 = 'workspace Slack'
alt-shift-1 = 'move-node-to-workspace Obsidian'
alt-shift-2 = 'move-node-to-workspace Chrome'
alt-shift-3 = 'move-node-to-workspace Terminal'
alt-shift-4 = 'move-node-to-workspace VSCode'
alt-shift-5 = 'move-node-to-workspace General'
alt-shift-6 = 'move-node-to-workspace Finder'
alt-shift-7 = 'move-node-to-workspace 7'
alt-shift-8 = 'move-node-to-workspace 8'
alt-shift-9 = 'move-node-to-workspace 9'
alt-shift-0 = 'move-node-to-workspace Slack'
alt-tab = 'workspace-back-and-forth'
alt-shift-semicolon = 'mode service'
[mode.service.binding]
esc = ['reload-config', 'mode main']
r = ['flatten-workspace-tree', 'mode main'] # reset layout
backspace = ['close-all-windows-but-current', 'mode main']
alt-shift-left = ['join-with left', 'mode main']
alt-shift-down = ['join-with down', 'mode main']
alt-shift-up = ['join-with up', 'mode main']
alt-shift-right = ['join-with right', 'mode main']