Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Keyboard and mouse reference

Press ? in sqview for help. Ctrl-P opens the command palette, which includes commands such as export, copying as CSV or SQL, global search, restoring hidden columns, freezing the first column, reloading schema, and toggling read-only.

Keys depend on focus. For example, i inserts a row in the grid and shows schema in the sidebar. j follows a foreign-key link when one is focused; ↓ always moves down. In the SQL console, Ctrl-P recalls a statement from history.

The tables below share the README’s keymap section, which is checked against the application’s built-in help. Popup footers provide additional controls for individual tasks.

Move

KeysAction
↑↓←→ / h j k lMove between cells
Home / EndFirst / last column
Ctrl-Home / Ctrl-EndFirst / last cell of the table
PgUp / PgDnScroll one page
Ctrl-↑ / Ctrl-↓Scroll one page
Ctrl-GGo to row number
' then a letterJump to letter in a text-sorted column

Select & copy

KeysAction
Shift-↑ / Shift-↓Extend the row selection
SpaceToggle the focused row
Ctrl-ASelect all rows
EscClear the selection, then focus the sidebar
y / Ctrl-CCopy the focused cell
YCopy the focused or selected rows as JSON

Edit

KeysAction
EnterEdit the cell with the matching picker
eEdit the value as text
nSet the cell to NULL
i / InsInsert a row below
d / DelDelete the focused or selected rows
Ctrl-ZUndo the last write

Inspect

KeysAction
vShow the focused row as a record
jFollow the link on a foreign-key cell
rRows in other tables that reference this row
BackspaceGo back after following a link
Ctrl-FFind rows in this table
:SQL console

Filter, sort & columns

KeysAction
fFilter the focused column
FClear all filters
sSort by the focused column (asc, desc, off)
SAdd the focused column as a further sort key
< / >Narrow / widen the focused column
-Hide the focused column

Tabs & panels

KeysAction
Tab / Shift-TabSwitch focus between sidebar and table
Ctrl-BShow / hide the sidebar
1-9 / 0Go to tab 1-10
] / [ / Ctrl-PgDn / Ctrl-PgUpNext / previous tab
Ctrl-WClose the current tab
KeysAction
↑↓ / j kMove
← → / h lCollapse / expand a section
EnterOpen a table or view, fold a section
iShow the schema of the selected item
EscBack to the table

Popups

KeysAction
EscClose
EnterConfirm the selection
↑↓ PgUp PgDn Home EndMove in lists
typingFilter the list or edit the field
Ctrl-A / Ctrl-EStart / end of the input
Ctrl-U / Ctrl-WDelete to start / previous word
Alt-EnterNew line in the editor; save a staged row
y / nConfirm / cancel a deletion

Mouse

KeysAction
WheelScroll the panel or list under the pointer
Shift-wheelScroll table columns
ClickFocus a cell, select a list item
Click headerSort by that column
Click / Ctrl-click gutterSelect / toggle rows
Drag scrollbarScroll
Click rail letterJump to that letter
Click / middle-click tabActivate / close the tab

App

KeysAction
Ctrl-PCommand palette: export, copy as CSV/SQL, search all tables, columns
?This help
Ctrl-QQuit