@neil nice article!
I use `tmux attach || tmux` over SSH everywhere and it does basically what I want: if I've lost connection or detached on purpose it reattaches me and if I've closed the previous session it makes a new one. And it means I don't have to devote precious brain power to remembering which situation I'm in