Skip to content

Commit

Permalink
[guides] Add a new ClipboardGuide describing cut/copy/paste (#2530)
Browse files Browse the repository at this point in the history
Co-authored-by: anjakefala <[email protected]>
  • Loading branch information
thejud and anjakefala authored Sep 24, 2024
1 parent aa92f5b commit f9c4ce1
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions visidata/guides/ClipboardGuide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copy, Cut and Paste...

## ...rows to/from the internal clipboard

- {help.commands.copy_row}
- {help.commands.copy_selected}

- {help.commands.cut_row}
- {help.commands.cut_selected}

- {help.commands.paste_after}
- {help.commands.paste_before}

## ...cells to/from the internal clipboard

- {help.commands.copy_cell}
- {help.commands.cut_cell}
- {help.commands.paste_cell}

## ...columns from the intenral clipboard

- {help.commands.copy_cells}
- {help.commands.cut_cells}
- {help.commands.setcol_clipboard}

If there are fewer values in the clipboard than in the selected target column, the clipboard values will be repeated in sequence.

## ....to/from the system clipboard

- {help.commands.syscopy_cell}
- {help.commands.syscopy_cells}

- {help.commands.syscopy_row}
- {help.commands.syscopy_selected}

- {help.commands.syspaste_cells}
- {help.commands.syspaste_cells_selected}

## Paste a new sheet from the system clipboard

- {help.commands.open_syspaste}

The paste command will prompt for the filetype, so the input data (from the clipboard) can be in any supported format.

## Relevant options

- {help.options.clipboard_copy_cmd}
- {help.options.clipboard_paste_cmd}

0 comments on commit f9c4ce1

Please sign in to comment.