Add a few new key-bindings for tmux and skhd

This commit is contained in:
david
2025-04-04 16:55:39 -05:00
parent ac9d14cba4
commit bf7fce65a1
2 changed files with 14 additions and 7 deletions

View File

@@ -3,12 +3,12 @@
# notes, stacks: https://github.com/koekeishiya/yabai/issues/203#issuecomment-650642142
##########################################################################################
# yabai
# key bindings for yabai wm
# general idea: alt navigates (move my view); alt+shift modifies (move/change the window)
# switch to space (to leave SIP in place, configure these in macos system settings)
# alt - 1 // switch to space 1 (and similar for other numbers)
# alt - 1 # switch to space 1
# alt - 2 # switch to space 2 (and similar for other numbers)
# move focused window to the given space
alt + shift - 1 : yabai -m window --space 1 --focus
@@ -42,3 +42,9 @@ alt + shift - k : yabai -m window --swap \
alt + shift - j : yabai -m window --swap \
$(yabai -m query --spaces --space | jq '.type' | tr -d "\"" | sed "s/stack/stack./" | sed "s/.*[^.]\$//")prev
##########################################################################################
# key bindings for general use
alt - h : $(which skhd) -k "ctrl + shift - tab"
alt - l : $(which skhd) -k "ctrl - tab"