I have a few tmuxinator projects. When running one in tmux I would like to be able to exit it quickly (e.g. one key combination) and kill the session so that next time I open the project it starts in the same state. Detaching doesn't work as it doesn't reset the state.
Is this possible?
Just add
bind k kill-sessionto.tmux.conf. And then you can exit and kill the session withPREFIX k.