![](https://fl0w.cc/pictrs/image/9f0c38e9-11be-44b6-b3da-b6b8c6e279c4.png)
![](https://lemmy.ml/pictrs/image/q98XK4sKtw.png)
I’m not sure how to paste directly into a pane, but you can copy by opening up the scrollback in EDITOR from search mode using Ctrl+S e
. This creates a file in /tmp so I try to make sure to clear it when I’m done.
I usually only copy and paste between editor windows using a script that mimics xclip (automatically used by helix), and if I need to paste a command I either edit my bash history or write a script.
If you want to mess around with scripting instead of an editor I would recommend Awk- it works great for CSV files and is really powerful. Usually you can use
-F,
to separate using commas, but for full CSV support (with potential quoted commas) you need to use something like-vFPAT='[^,]*|"[^"]*"'
(which isn’t POSIX compliant but works with gawk)