Skip to content

Instantly share code, notes, and snippets.

@bbassett
Created May 28, 2026 16:10
Show Gist options
  • Select an option

  • Save bbassett/a120d00d1e46dae471e6acf23f6b1a9a to your computer and use it in GitHub Desktop.

Select an option

Save bbassett/a120d00d1e46dae471e6acf23f6b1a9a to your computer and use it in GitHub Desktop.
PROJECT_NAME="hatch-elixir"
PROJECT_DIR="$HOME/Projects/hatch/hatch-elixir"
project_layout() {
tmux new-window -n "$PROJECT_NAME" -c "$PROJECT_DIR"
tmux split-window -p 20 -c "$PROJECT_DIR"
tmux select-pane -t 0
tmux split-window -h -p 30 -c "$PROJECT_DIR"
tmux select-pane -t 1
tmux send-keys "claude" C-m
tmux select-pane -t 2
tmux send-keys "git status" C-m
tmux select-pane -t 0
tmux send-keys "nvim ." C-m
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment