From 8298787bcb3d87b1871274be7f349e3d77a351b3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 27 Sep 2024 20:18:27 +0100 Subject: [PATCH] Revert "Delete .tmux" This reverts commit 8f3c1d8a21dd5316e783a81b83090c52f0828734. --- .tmux | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 .tmux diff --git a/.tmux b/.tmux new file mode 100755 index 000000000..3c52e8e3b --- /dev/null +++ b/.tmux @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +set -o errexit + +# 1. Vim. +tmux send-keys -t "$1:1" "nvim" Enter + +# 2. Server. +tmux new-window -t "$1" -c "$PWD" +tmux send-keys -t "$1:2" "./run start" Enter + +tmux split-window -t "$1" -v +tmux send-keys -t "$1:2.bottom" "(cd assets && ../run npm:build:css)" Enter + +# 3. General shell use. +tmux new-window -t "$1" -c "$PWD" +tmux send-keys -t "$1:3" "git status" Enter + +tmux new-window -t "$1" -c "$PWD/source/_daily_emails" + +tmux select-window -t "$1:1"