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
So my workflow is to type in `vim` and then press `CMD+SHIFT+J` and Enter
[1] https://github.com/ghostty-org/ghostty/discussions/3708#disc...