Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to copy a visidata cell to system clipboard on mac?

Tags:

visidata

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?

like image 908
Jas Avatar asked Oct 18 '25 13:10

Jas


1 Answers

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.

like image 181
spren9er Avatar answered Oct 22 '25 00:10

spren9er



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!