Adjust tmux-sessionizer key-binds and filenames

This commit is contained in:
2025-01-28 11:38:46 -06:00
parent 0d1fb62b53
commit 00ee4c9126
3 changed files with 7 additions and 5 deletions

View File

@ -0,0 +1,21 @@
local omitted_dirs=(
$HOME
$DIR_HOME_BOX
$DIR_DEV
$DIR_DEV/git
)
[[ ! ${omitted_dirs[(re)$(pwd)]} ]] &&
tmux new-window -d -n cmd &&
tmux rename-window $EDITOR &&
$EDITOR .
clear
## example template for custom override
# tmux new-window -d -n cmd
# tmux send-keys -t :cmd "echo 'in cmd'" c-M
# tmux new-window -d -n another
# tmux send-keys -t :another "echo 'in another'" c-M
# tmux rename-window $EDITOR
# $EDITOR .
# clear