CSV grid
Inserting rows and columns in the CSV Preview Editor, at its active cell. Each is also on the grid's row
or column right-click menu. Inside the grid, the arrow keys, Page Up/Down, Home/End and Ctrl+Home/End
move (with Shift to extend), Enter, F2 or a double-click edits a cell (a double-click selects its text;
while a cell is being edited those keys move the caret in it), Delete clears, Ctrl+C, Ctrl+X and Ctrl+V copy, cut
and paste tab-separated cells, Ctrl+Z and Ctrl+Y undo and redo as in the text editor, and
editor.save saves. Double-clicking a column letter fits the column to its widest value (double-click again to undo); a row number does nothing, since rows are not resized. The Lock first row and Lock first column toggles beside it (or the Lock First Row and Lock First Column menu items) hold the first row under the column letters and the first column beside the row numbers while the rest scrolls. The Wrap toggle on a CSV preview's status bar (or its Wrap menu item) shows every cell in full, wrapped to its column, each row as tall as its tallest cell. Clicking the corner
above the row numbers selects every row and column. Every
right-click menu in the grid (cell, selection, row number, column letter) offers Cut, Copy and Paste; a
paste overwrites the selection from its top-left cell, and one value pasted onto several cells fills them.
Reset Column Width on a column letter puts it back to its default width. With whole rows or
columns copied from a grid, the row and column menus also offer Insert Copied Rows Above/Below and
Insert Copied Columns Left/Right. editor.saveAs and the Save As icon in the title bar save
the CSV under a new name, as in the text editor. A cell longer than the
Long cell threshold opens in a dialog on double-click, F2 or Enter, with a JSON value
pretty-printed. Edit in Dialog… on the cell menu opens any cell there; Ctrl+Enter saves it as one
line and Esc cancels. The cell-dialog toggle at the bottom right of the status bar turns this on or off for
one panel. Edit in Dialog… is greyed while more than one cell is selected. Opening another CSV in a preview that holds unsaved edits asks first: Save & open, Discard & open, Open in new preview or Cancel. Each file keeps its own selection while the preview moves between files, and the pointer over a row number, column letter or the corner shows a select arrow.
Insert Row Above
Cog › Key Bindings › CSV grid
grid.insertRowAbove
Insert an empty row above the active cell in the CSV Preview Editor.
Default: (unbound) · Scope: Preview
Insert an empty row above the active cell.
Insert Row Below
Cog › Key Bindings › CSV grid
grid.insertRowBelow
Insert an empty row below the active cell in the CSV Preview Editor.
Default: (unbound) · Scope: Preview
Insert an empty row below the active cell.
Insert Column Left
Cog › Key Bindings › CSV grid
grid.insertColumnLeft
Insert an empty column left of the active cell in the CSV Preview Editor.
Default: (unbound) · Scope: Preview
Insert an empty column left of the active cell.
Insert Column Right
Cog › Key Bindings › CSV grid
grid.insertColumnRight
Insert an empty column right of the active cell in the CSV Preview Editor.
Default: (unbound) · Scope: Preview
Insert Rows Above…
Cog › Key Bindings › CSV grid
grid.insertRowsAbove
Ask how many, then insert that many empty rows above the active cell in the CSV Preview Editor.
Default: (unbound) · Scope: Preview
Insert Rows Below…
Cog › Key Bindings › CSV grid
grid.insertRowsBelow
Ask how many, then insert that many empty rows below the active cell in the CSV Preview Editor.
Default: (unbound) · Scope: Preview
Insert Columns Left…
Cog › Key Bindings › CSV grid
grid.insertColumnsLeft
Ask how many, then insert that many empty columns left of the active cell in the CSV grid.
Default: (unbound) · Scope: Preview
Insert Columns Right…
Cog › Key Bindings › CSV grid
grid.insertColumnsRight
Ask how many, then insert that many empty columns right of the active cell in the CSV grid.
Default: (unbound) · Scope: Preview
Delete Rows
Cog › Key Bindings › CSV grid
grid.deleteRows
Delete every row the selection spans in the CSV Preview Editor.
Default: (unbound) · Scope: Preview
Delete Columns
Cog › Key Bindings › CSV grid
grid.deleteColumns
Delete every column the selection spans, from every row, in the CSV Preview Editor.
Default: (unbound) · Scope: Preview
Insert an empty column right of the active cell.