I use the scrollback buffer export to a temporary file (CMD+SHIFT+J), you can then open the file in any editor.
So my workflow is to type in `vim` and then press `CMD+SHIFT+J` and Enter
Anyone figure out how to bind this to CMD-F with key bindings?
Here are a few ways to add key bindings to do this in a single action, but it's macOS-only and a little clunky. I prefer the one a little further down where you use a second keybind to open the editor.
This has been the major frustration for me as well. That's the only thing missing for me.
Shouldn't it be handled by your shell?
I know it's a question without the correct answer - I'm struggling with deciding what should be handled by wm, terminal, terminal multiplexer, shell, text editor.
The shell doesn't have access to the scrollback though. A multiplexer would, if you used one.