Skip to content

Commit 87fcd9f

Browse files
committed
mac: key bind restructure
- avoid aerospace stealing zellij binds - avoid zellij stealing helix binds - migrate karabiner config - avoid use of global modifier binds in mac (rely on karabiner cfg) Signed-off-by: clux <[email protected]>
1 parent b9a1a96 commit 87fcd9f

File tree

4 files changed

+46
-475
lines changed

4 files changed

+46
-475
lines changed

.zshenv

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export FZF_ALT_C_COMMAND="fd --type d --strip-cwd-prefix -HE='.git'"
1717
_fzf_compgen_path() { fd -HE='.git' . "$1"; }
1818
_fzf_compgen_gir() { fd --type=d -HE='.git' . "$1"; }
1919
_FZF_LAYOUT='--height 50% --layout=reverse'
20-
eval "$(fzf --zsh)"
20+
#eval "$(fzf --zsh)"
2121

2222
# fzf theme; catppuccin mocha: https://github.com/catppuccin/fzf but no bg
2323
export FZF_DEFAULT_OPTS="${_FZF_LAYOUT} \

config/aerospace/aerospace.toml

+6-4
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,12 @@ alt-slash = 'layout tiles horizontal vertical'
8989
alt-comma = 'layout accordion horizontal vertical'
9090

9191
# See: https://nikitabobko.github.io/AeroSpace/commands#focus
92-
alt-left = 'focus left'
93-
alt-down = 'focus down'
94-
alt-up = 'focus up'
95-
alt-right = 'focus right'
92+
# NB: don't use alt-arrows to preserve zellij tab movement
93+
# NB: this ends up being ctrl-{arrows} with remap
94+
cmd-left = 'focus left'
95+
cmd-down = 'focus down'
96+
cmd-up = 'focus up'
97+
cmd-right = 'focus right'
9698

9799
# See: https://nikitabobko.github.io/AeroSpace/commands#move
98100
alt-shift-left = 'move left'

0 commit comments

Comments
 (0)