CSV/TSV Table View
For .csv and .tsv files, Nib’s toolbar shows a table-view toggle button. Turning it on replaces the plain-text editor with an editable row/column grid for that tab — a real spreadsheet-style view, not just column alignment.
How it works
The underlying file is still just text: the grid is parsed fresh from the tab’s content every time it’s shown (using a real CSV parser, so quoted fields containing commas or delimiters are handled correctly), and any edit you make in the grid is immediately re-serialized back into the tab’s text. That means:
- Saving, undo/redo at the tab level, and crash recovery all work exactly the same as any other tab — none of it needs to know about CSV at all
- Switching the toggle off at any time shows you the exact same file as raw delimited text
Editing
Each cell is its own text field:
- Tab / Shift+Tab move to the next/previous cell, wrapping at row ends
- Enter moves down a column
- Arrow keys move the text cursor within a cell, rather than jumping between cells
Known limitations
- No cross-cell undo — each cell has its own independent undo stack, not a single undo across the whole grid
- A ragged source file (rows with different numbers of columns) gets padded out to a rectangular grid the first time you save
- Find & Replace has no cell-aware behavior in table view — it operates on the underlying text