You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #1337, Cmd+C in the grid copies the focused cell's value when one row is selected and a cell has focus, and the selected rows as TSV otherwise. Cmd+Shift+C always copies rows, Cmd+Option+C adds a header row and Cmd+Option+J copies JSON (features/data-grid.mdx, Copying). Two gaps remain:
What plain Cmd+C copies cannot be changed. Anyone who mostly wants CSV with headers or Markdown goes through the Copy as submenu every time. Only Copy, Copy Rows, Copy with Headers and Copy as JSON have rows in Settings > Keyboard (apple/TablePro/Models/UI/KeyboardShortcutModels.swift:100); CSV, CSV with Headers, Markdown, IN Clause, INSERT and UPDATE have none.
With several rows selected there is no command that copies only the focused cell's value: Cmd+C copies the rows.
A Copy Cell Value command in Edit > Copy Special and on the cell's contextual menu that copies the focused cell's raw value whatever else is selected, unbound by default and rebindable in Settings > Keyboard.
Settings > Keyboard rows for each Copy as format, unbound by default.
Keep Copy as reachable whatever the default is.
Done means: with the default set to CSV with Headers, selecting three rows and pressing Cmd+C puts a header line and three CSV lines on the clipboard.
Activity
[-]Copy Cell Value shortcut, and a configurable default for Cmd+C[/-][+]Choose what Cmd+C copies in the data grid[/+]