I use a tool called tummy (
https://github.com/minhajuddin/tummy full disclosure: built by me) which allows me to create a Tmuxfile per project. A typical file looks like this:
session "liveform"
directory "/home/minhajuddin/r/liveform/frontend"
window "src", [
pane("vim TODO"),
]
window "server-pry", [
pane("puma --port 3000 --config <(echo '')"),
pane("rails c", :horizontal),
]
window "play", [
pane("git status"),
]
window "misc", [
pane("sidekiq"),
#pane("httpdebug", :horizontal),
pane("cd ~/s/html; fs", :horizontal),
pane("guard", :horizontal),
]
# vim: filetype=ruby