Of course I can see the case for combining both tools. If you have a lot of projects, and/or want REPLs loaded you might not want them sitting around in memory for months if you're not going to use them.
It is trivial to get working. Just use tmux plugin manager to install tmux-resurrect and tmux-continuum.
https://github.com/tmux-plugins/tpm
Example usage in my dotfiles: https://github.com/positron/dotfiles/blob/master/.tmux.conf#...
session "grnc_hub"
directory "/home/minhajuddin/a/grnc_hub"
window "server", [
pane("RAILS_ENV=production rails s"),
pane("source ./.env && rails s"),
]
...I'm also working on a little app that allows you to open files in Finder into console Tmux+Nvim.
Project: https://github.com/airbnb/appear
Tmux library source: https://github.com/airbnb/appear/blob/master/lib/appear/tmux...
Tmux library docs: http://www.rubydoc.info/gems/appear/Appear/Tmux
Example usage: https://github.com/airbnb/appear/blob/master/lib/appear/edit...
Nvim+Tmux file handler app: https://github.com/airbnb/appear/pull/11
require "tummy/version"
module Tummy
# Your code goes here...
endI am a bit biased, but it has been working very nicely for me. It also has ability to pass raw tmux arguments for things which aren't supported by it.