# ref: https://nikitabobko.github.io/AeroSpace/commands # ref: https://nikitabobko.github.io/AeroSpace/guide after-startup-command = [] start-at-login = true enable-normalization-flatten-containers = true enable-normalization-opposite-orientation-for-nested-containers = true on-focused-monitor-changed = ['move-mouse monitor-lazy-center'] automatically-unhide-macos-hidden-apps = true accordion-padding = 0 default-root-container-layout = 'accordion' # opts: tiles accordion default-root-container-orientation = 'vertical' # opts: horizontal vertical auto [key-mapping] preset = 'qwerty' # opts: qwerty dvorak colemak [gaps] inner.horizontal = 0 # inner* - between windows and other windows inner.vertical = 0 outer.left = 0 # outer* - between windows and monitor edges outer.bottom = 0 outer.top = 0 outer.right = 0 [mode.main.binding] alt-comma = 'layout v_accordion' alt-period = 'layout h_tiles' alt-slash = 'layout horizontal vertical' alt-minus = 'resize smart -50' alt-equal = 'resize smart +50' # in stack mode, new windows are added "below" the current, so swap up and down alt-j = 'focus up' alt-k = 'focus down' alt-l = 'focus right' alt-h = 'focus left' alt-shift-j = 'move up' alt-shift-k = 'move down' alt-shift-h = 'move left' alt-shift-l = 'move right' alt-1 = 'workspace 1' alt-2 = 'workspace 2' alt-3 = 'workspace 3' alt-4 = 'workspace 4' alt-5 = 'workspace 5' alt-6 = 'workspace 6' alt-7 = 'workspace 7' alt-8 = 'workspace 8' alt-9 = 'workspace 9' alt-0 = 'workspace 0' alt-shift-1 = 'move-node-to-workspace 1' alt-shift-2 = 'move-node-to-workspace 2' alt-shift-3 = 'move-node-to-workspace 3' alt-shift-4 = 'move-node-to-workspace 4' alt-shift-5 = 'move-node-to-workspace 5' alt-shift-6 = 'move-node-to-workspace 6' 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 0' alt-shift-semicolon = 'mode service' [mode.service.binding] r = ['reload-config', 'flatten-workspace-tree', 'mode main'] # reset layout f = ['flatten-workspace-tree', 'layout floating', 'mode main'] alt-h = ['join-with left', 'mode main'] alt-j = ['join-with down', 'mode main'] alt-k = ['join-with up', 'mode main'] alt-l = ['join-with right', 'mode main']