Created
February 3, 2024 02:46
-
-
Save ozturkkl/793ea9585112ccac4bdc6146800dd77d to your computer and use it in GitHub Desktop.
tmux-conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g mouse on | |
bind-key h swap-pane -t 0 | |
# #!/bin/bash | |
# # util func to send keys to all panes | |
# _tmux_send_keys_all_panes_ () { | |
# for _pane in $(tmux list-panes -F '#P'); do | |
# tmux send-keys -t ${_pane} "$@" | |
# done | |
# } | |
# cd ~/projects/descript/descript-api/ | |
# # code . | |
# tmux kill-session -t descript-api | |
# # to wait for the first command to finish before running the rest | |
# FLAG_FILE="/tmp/descript-api-done.flag" | |
# rm -f $FLAG_FILE | |
# tmux new-session -d -s "descript-api" "docker-compose down; turbo run --filter pg-migration dev-migrate; turbo run --filter=bigtable-development-setup dev-migrate; touch $FLAG_FILE; bash" | |
# tmux attach-session -t descript-api | |
# while [ ! -f $FLAG_FILE ]; do | |
# sleep 1 | |
# done | |
# tmux split-window -h "trap '' INT; turbo run --filter api dev; bash" | |
# tmux split-window -h "trap '' INT; turbo run --filter api dev -- recordings; bash" | |
# tmux split-window -h "trap '' INT; turbo run --filter api dev -- recordings-media; bash" | |
# tmux split-window -h "trap '' INT; turbo run --filter api dev -- server-edits; bash" | |
# tmux split-window -h "trap '' INT; turbo run --filter api dev -- interface; bash" | |
# tmux split-window -h "trap '' INT; turbo run --filter api dev -- live-collab; bash" | |
# tmux split-window -h "trap '' INT; turbo run --filter api dev -- live-collab-insert; bash" | |
# tmux split-window -h "trap '' INT; turbo run --filter api dev -- internal; bash" | |
# tmux split-window -h "trap '' INT; cd ../descript-workflows && DESCRIPT_INTERNAL_API_BASE_URL=http://localhost:3101/v2 goreman start worker-general; bash" | |
# tmux kill-pane -t descript-api:0.0 | |
# # get-layout: tmux display-message -p '#{window_layout}' | |
# # default layouts: even-horizontal, even-vertical, main-horizontal, main-vertical, tiled | |
# tmux select-layout 'cf08,185x69,0,0{118x69,0,0,1,66x69,119,0[66x7,119,0,2,66x7,119,8,3,66x7,119,16,4,66x7,119,24,5,66x7,119,32,6,66x7,119,40,7,66x7,119,48,8,66x13,119,56,9]}' | |
# rm -f $FLAG_FILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment