nikitabobko / AeroSpace

AeroSpace is an i3-like tiling window manager for macOS
https://nikitabobko.github.io/AeroSpace/guide
MIT License
7.45k stars 119 forks source link

Bug: Pressing alt+r or other letter moves to window with that letter, even if bound #50

Closed asuperpower closed 11 months ago

asuperpower commented 11 months ago

If I press alt+r to resize, aerospace creates a new workspace called 'r'. I don't have it bound or created in the config, and I have alt-r bound to resize in the config.

I'm not sure if it's PEBCAK but I've tried re-ordering things and it's still doing the same thing. I started with the i3 config and made a few modifications. Any ideas what the issue could be? If I press another key like alt-n, it moves to an 'n' workspace too.

Any help would be appreciated :) I'll also update this if I find the solution. Also, this is a seriously good wm, I've tried others on os x and I've never been able to have a workflow similar to with i3 until now.

Here is my config:

# Reference: https://github.com/i3/i3/blob/next/etc/config

enable-normalization-flatten-containers = false
enable-normalization-opposite-orientation-for-nested-containers = false
start-at-login = true

[mode.main.binding]
alt-enter = 'exec-and-forget open -n /System/Applications/kitty.app'

alt-shift-c = 'reload-config'

alt-r = 'mode resize'

# See: https://github.com/nikitabobko/AeroSpace/blob/main/docs/commands.md#move-workspace-to-monitor
alt-shift-tab = 'move-workspace-to-monitor next'

alt-h = 'focus left'
alt-j = 'focus down'
alt-k = 'focus up'
alt-l = 'focus right'

alt-shift-h = 'move-through left'
alt-shift-j = 'move-through down'
alt-shift-k = 'move-through up'
alt-shift-l = 'move-through right'

alt-x = 'split horizontal'
alt-v = 'split vertical'

alt-f = 'fullscreen'

alt-s = 'layout v_accordion' # 'layout stacking' in i3
alt-w = 'layout h_accordion' # 'layout tabbed' in i3
alt-e = 'layout tiles horizontal vertical' # 'layout toggle split' in i3

alt-shift-space = 'layout floating tiling' # 'floating toggle' in i3

# Not supported, because this command is redundant in AeroSpace mental model.
# See: https://github.com/nikitabobko/AeroSpace/blob/main/docs/guide.md#floating-windows
#alt-space = 'focus toggle_tiling_floating'

# `focus parent`/`focus child` are not yet supported, and it's not clear whether they should be supported at all
# https://github.com/nikitabobko/AeroSpace/issues/5
# alt-a = 'focus parent'

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 10'
alt-f1 = 'workspace 11'
alt-f2 = 'workspace 12'
alt-f3 = 'workspace 13'
alt-f4 = 'workspace 14'

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 10'
alt-shift-f1 = 'move-node-to-workspace 11'
alt-shift-f2 = 'move-node-to-workspace 12'
alt-shift-f3 = 'move-node-to-workspace 13'
alt-shift-f4 = 'move-node-to-workspace 14'

[workspace-to-monitor-force-assignment]
1 = 2
2 = 2
3 = 2
4 = 2
5 = 1
6 = 1
7 = 1
8 = 1
9 = 1
0 = 1
11 = 2
12 = 2
13 = 2
14 = 2

[mode.resize.binding]
h = 'resize width -50'
j = 'resize height +50'
k = 'resize height -50'
l = 'resize width +50'
enter = 'mode main'
esc = 'mode esc'
ctruett commented 11 months ago

@asuperpower have you updated to the latest beta? Fixed that issue for me.

asuperpower commented 11 months ago

@asuperpower have you updated to the latest beta? Fixed that issue for me.

I am, this is the version info: (it is managed through brew) AeroSpace v0.6.2-Beta b4f9a9a2161e39c0f976eb0efc57db9ee45ec261

asuperpower commented 11 months ago

I restarted and it works now, I guess I should have tried that earlier.