updates nvim sessions from tmux to wezterm

This commit is contained in:
2024-08-10 15:20:08 -07:00
parent f58ff37b78
commit 3f34effc6b
10 changed files with 63 additions and 48 deletions

19
sessions/lag.sh Executable file
View File

@@ -0,0 +1,19 @@
# firefox https://bigdrumdigital.teamwork.com/app/projects/620980/time &
# firefox https://3.basecamp.com/5456546/buckets/36188668/card_tables/7047790073 &
# mongodb-compass &
tmux new-session -s linkedag -d -c ~/repos/linkedag-backend -n backend
tmux split-window -h -c ~/repos/linkedag-backend
tmux resize-pane -t linkedag:backend.0 -x 90%
tmux send-keys -t linkedag:backend.0 'nvim' C-m
tmux send-keys -t linkedag:backend.1 'npm run dev' C-m
tmux new-window -c ~/repos/linkedag -n frontend
tmux split-window -h -c ~/repos/linkedag
tmux resize-pane -t linkedag:frontend.0 -x 90%
tmux send-keys -t linkedag:frontend.0 'nvim' C-m
tmux send-keys -t linkedag:frontend.1 'npm run dev' C-m
tmux select-window -t linkedag:backend
tmux select-pane -t 0
tmux -2 attach-session -t linkedag