Update build configuration files

This commit is contained in:
Oliver Davies 2024-01-29 20:50:51 +00:00
parent 4178cf7a57
commit b36c7fb413
2 changed files with 8 additions and 3 deletions

8
.tmux
View file

@ -7,13 +7,13 @@ session_name="${1:-oliverdavies-uk}"
session_path="${2:-$(pwd)}"
if tmux has-session -t="${session_name}" 2> /dev/null; then
tmux attach -t "${session_name}"
exit
tmux attach -t "${session_name}" ||
tmux switch-client -t "${session_name}"
fi
tmux new-session -d -s "${session_name}" -n vim -c "${session_path}"
# 1. Main window: Vim
# 1. Main window: Vim.
tmux send-keys -t "${session_name}:vim" "nvim" Enter
tmux split-pane -t "${session_name}:vim" -h -c "${session_path}" -p 40
tmux send-keys -t "${session_name}:vim.right" "./run start" Enter
@ -23,3 +23,5 @@ tmux new-window -t "${session_name}" -c "${session_path}"
tmux switch-client -t "${session_name}:vim.left" ||
tmux attach -t "${session_name}:vim.left"
# vim: ft=bash

View file

@ -14,3 +14,6 @@ git:
ignore:
- /node_modules/
- /source/build/
experimental:
createTmuxStartupFile: true