Previews and editors

CSV tables

Read a CSV or TSV file as a table, edit cells, filter rows and save without changing anything you did not touch.

A CSV or TSV file opens in the preview as a table: column titles at the top, numbered rows, and columns wide enough for their content. Values that contain a comma, a quote or a line break stay in their own cell. The same file is one click away as text.

The evaluation questions, a CSV file, shown as a table in the preview.
The evaluation questions, a CSV file, shown as a table in the preview.

Open a CSV file

Select a .csv or .tsv file and press F3. Objects in an S3 bucket stored as CSV open as a table too.

The row of views offers Table, Source (the file as text, in the text editor) and Info.

Vektor Commander works out the file's layout:

  • The delimiter — comma, semicolon, tab or pipe. When it cannot tell, it uses a comma.
  • The header — when the first row looks like column names, it becomes the column titles and row numbers start with the next row.

Values are shown exactly as written: 00123, 2026-09-24 or =SUM(A1) stay as they are. Empty fields stay empty cells, and rows of different lengths are padded with empty cells, so nothing is dropped. A value with a line break shows on one line with a break marker; hold the pointer over it to see all of it.

Toolbar

  • Filter — shows only the rows that contain the text you type. Type column = text to look in one column only, for example country = Czechia. Row numbers stay the rows' own, and filtering never changes the file.
  • Delimiter — Comma ,, Semicolon ;, Tab, Pipe | or Custom… (exactly one character, not a quote or a line break).
  • Header — First row or No header.
  • More — Auto Size Columns, Copy as CSV, Copy as TSV (the whole table), Reopen with Encoding, Reload, and the file's current encoding and line endings.

Changing the delimiter or header only changes how this preview reads the file. Resizing columns by dragging the separators in the header, or with Auto Size Columns, does not change the file either.

Reopen with Encoding reads the file again in the encoding you pick. Save or revert your changes first.

Select and move around

Click the table to give it the keyboard. Then:

  • Click a cell to select it; click a row number to select the row, or a column title to select the column. Hold Shift to extend the selection.
  • Use the arrow keys and Tab to move between cells; hold Shift with Tab to go back.
  • Esc still closes the preview.

Edit cells

  1. Double-click a cell, or select it and press Return.
  2. Type the new value. To put a line break inside the value, hold Option and press Return.
  3. Press Return to keep the value, or Escape to cancel. Tab keeps it and moves to the next cell; with Shift held, to the previous one.

The * appears next to the file name. Save with ⌘S. A cell you are still editing when you save is included.

More ways to change cells:

  • Press Delete to clear the selected cells. The row stays.
  • ⌘C copies one cell's value, or a range, row or column as tab-separated text that other spreadsheet apps paste as a table.
  • ⌘X copies and clears.
  • ⌘V fills cells to the right and down from the selected cell with tab-separated text, for example a block copied from a spreadsheet. Rows are not added: if the block is longer than the table, Vektor Commander tells you how many rows did not fit.

Use Edit ▸ Undo and Edit ▸ Redo to step back and forth through your edits, one at a time. Setting a cell back to its original value removes that change.

You can edit while a filter is on. Your edit always lands in the row you see, never in a hidden one.

Adding or deleting rows and columns is not part of the table. Use Source to add or remove lines of text.

What saving changes

Saving writes back only the rows you edited. Every other row keeps its exact text: quoting, spacing, line endings, encoding and byte-order mark. Line breaks inside quoted values are kept exactly too.

Table and Source together

Table and Source show the same document:

  • Edits made in the table appear in Source, where a single undo takes them all back out.
  • Edits made in Source appear in the table when you switch back.
  • If an edit in Source makes the file unreadable as a table, Table shows Unable to display as table with the row and column of the problem and an Open Source button. Nothing is lost.

An empty file shows This file is empty; use Source to add text.

Find in a table

Press ⌘F to open the find bar. Every matching cell is highlighted and the table scrolls to the current one. In an editable table, the find bar can also Replace and Replace All. See Find in a preview.

Large and read-only files

  • A CSV file larger than 10 MB opens as a read-only table, with a notice that table editing is unavailable. Source shows it read-only too.
  • A CSV file larger than 256 MB is too large to show as a table; Open Source shows its text, read-only.
  • A read-only file (no permission, inside an archive, on an SFTP server…) can be viewed, searched and copied, but not edited. A notice says why.
© 2026 Vektor Commander