See in particular the passage "send text to a tmux session|window|pane".
In Emacs, `M-x desktop-save` and `M-x desktop-change-dir` will let you save your session state and restore from a saved state. Also handy is the command `process-send-string`. I use it in the below (from my .emacs config[1]) to mark one buffer as the "receiving GHCI buffer" and then send text from another buffer to be evaluated in that one.
https://github.com/JeffreyBenjaminBrown/notes-in-org-format-...
See in particular the passage "send text to a tmux session|window|pane".
In Emacs, `M-x desktop-save` and `M-x desktop-change-dir` will let you save your session state and restore from a saved state. Also handy is the command `process-send-string`. I use it in the below (from my .emacs config[1]) to mark one buffer as the "receiving GHCI buffer" and then send text from another buffer to be evaluated in that one.
[1] https://github.com/JeffreyBenjaminBrown/play/blob/master/dot...