Browse documentation

Commands

The plugin’s Lazy spec registers every public command, so a lazy.nvim configuration does not need a copied cmd list.

CommandWhat it does
:GripIt accepts a table, SQL, file, or URL. File arguments also accept --write, --watch, or --watch=Ns.
:GripSchemaIt toggles the schema sidebar.
:GripTablesIt opens the table picker with a column preview.
:GripQueryIt opens the query pad and inserts an optional SQL argument.
:GripSaveIt saves the query pad under .grip/queries/ with an optional name.
:GripLoadIt loads an optional saved-query name or opens the picker.
:GripHistoryIt opens query history with timestamps and SQL previews.
:GripConnectIt connects to an optional URL or opens the connection picker.
:GripExplainIt explains an optional SQL argument and shows heuristic warnings.
:GripProfileIt profiles an optional table’s column distributions.
:GripAskIt asks the configured AI provider to generate SQL from a question.
:GripPropertiesIt shows columns, indexes, row estimates, and table size for an optional table.
:GripRenameIt accepts old and new names, then previews and renames the column.
:GripCreateIt opens the interactive table designer.
:GripDiffIt accepts two tables and compares them by primary key.
:GripDropIt previews and drops an optional table after typed confirmation.
:GripExportIt exports the current page or all filtered and sorted rows to a file.
:GripAttachIt accepts a DSN and alias, then attaches PostgreSQL, MySQL, SQLite, or MotherDuck to DuckDB.
:GripDetachIt detaches an optional DuckDB alias.
:GripOpenIt opens a local, HTTPS, or S3 path without saving a connection.
:GripFillIt asks the configured AI provider for an optional row count and stages the returned values.
:GripStartIt recreates and opens the bundled demo database.
:GripHomeIt returns to the welcome screen.
:GripToggleIt closes all Dadbod Grip windows or restores them when they are closed.

Press <C-p> from the Grid, Query Pad, or Sidebar to search the actions available there. The keymap explorer shows the default bindings by surface and mode.