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 prompts and confirms with an old name; supplying both old and new names renames immediately.
:GripCreateIt prompts for a table name and column names/types, then previews the DDL.
:GripDiffIt accepts two tables and compares them by primary key.
:GripDropIt previews and drops an optional table after typed confirmation.
:GripImportIt previews and stages clipboard rows, or stdout from an explicit !command, for an editable table.
: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.
:GripZoomIt zooms the current pane or restores its split layout.
:GripZenIt toggles automatic shortcut hints for the current session, independently of timing display and layout.
:GripToggleIt closes visible Grip buffers or reconnects when none are visible; it does not restore the previous workspace.

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.