Skip to content

Commit

Permalink
mac: key bind restructure
Browse files Browse the repository at this point in the history
- 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]>
  • Loading branch information
clux committed Jan 20, 2025
1 parent b9a1a96 commit 87fcd9f
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 475 deletions.
2 changes: 1 addition & 1 deletion .zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export FZF_ALT_C_COMMAND="fd --type d --strip-cwd-prefix -HE='.git'"
_fzf_compgen_path() { fd -HE='.git' . "$1"; }
_fzf_compgen_gir() { fd --type=d -HE='.git' . "$1"; }
_FZF_LAYOUT='--height 50% --layout=reverse'
eval "$(fzf --zsh)"
#eval "$(fzf --zsh)"

# fzf theme; catppuccin mocha: https://github.com/catppuccin/fzf but no bg
export FZF_DEFAULT_OPTS="${_FZF_LAYOUT} \
Expand Down
10 changes: 6 additions & 4 deletions config/aerospace/aerospace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,12 @@ alt-slash = 'layout tiles horizontal vertical'
alt-comma = 'layout accordion horizontal vertical'

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

# See: https://nikitabobko.github.io/AeroSpace/commands#move
alt-shift-left = 'move left'
Expand Down
Loading

0 comments on commit 87fcd9f

Please sign in to comment.