I tried adding to configuration ~/.visidatarc
options.clipboard_copy_cmd = 'pbcopy w'
but when I copy then with y from visidata nothing is copied to system clipboard on mac.
How to copy to system clipboard on mac?
One can use the shortcut Shift+Y for copying data from visidata (as of version 2.5) to system clipboard on macOS.
In detail:
| Table Action | Shortcut |
|---|---|
| Copy single cell (of current row and current column) | z Shift+Y |
| Copy selected cell(s) (of current column) | g z Shift+Y |
| Copy single row | Shift+Y |
| Copy selected row(s) | g Shift+Y |
When copying rows, one has to confirm the format (e.g. csv or tsv).
There is no need to set up visidata options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With