diff --git a/src_files/.config/skhd/skhdrc b/src_files/.config/skhd/skhdrc index 3f30fe8..72cf925 100755 --- a/src_files/.config/skhd/skhdrc +++ b/src_files/.config/skhd/skhdrc @@ -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" + diff --git a/src_files/.config/tmux/tmux.conf b/src_files/.config/tmux/tmux.conf index fc5aab3..a0c55ae 100644 --- a/src_files/.config/tmux/tmux.conf +++ b/src_files/.config/tmux/tmux.conf @@ -27,8 +27,9 @@ bind-key W kill-session # TODO: if i can combine this into the above when only 1 # custom find and switching for sessions using tmux-sessionizer unbind-key f bind-key f run-shell "tmux neww $DIR_SCRIPTS/tmux-sessionizer" -bind-key F run-shell "tmux neww $DIR_SCRIPTS/tmux-sessionizer existing" -bind-key H run-shell "tmux neww $DIR_SCRIPTS/tmux-sessionizer hub" - -# bind -r D neww -c "#{pane_current_path}" "[[ -e TODO.md ]] && $EDITOR TODO.md || $EDITOR ~/personal/dev/todo.md" +bind-key C-f run-shell "tmux neww $DIR_SCRIPTS/tmux-sessionizer existing" +bind-key C-h run-shell "tmux neww $DIR_SCRIPTS/tmux-sessionizer hub" +bind-key C-l switch-client -l +bind-key C-n next-window +bind-key C-p previous-window