Skip to content

feat(command-mode): add shortcut to create a SQL cell below - #10701

Open
Aniket-a14 wants to merge 2 commits into
marimo-team:mainfrom
Aniket-a14:feat/command-mode-sql-cell-shortcut
Open

feat(command-mode): add shortcut to create a SQL cell below#10701
Aniket-a14 wants to merge 2 commits into
marimo-team:mainfrom
Aniket-a14:feat/command-mode-sql-cell-shortcut

Conversation

@Aniket-a14

@Aniket-a14 Aniket-a14 commented Aug 29, 2026

Copy link
Copy Markdown

Closes #10688.

Adds command.createSqlCellAfter, bound to q in command mode by default. Pressing Esc then q creates and focuses a new SQL cell below the current cell without executing it, adding the marimo import first if it's missing. The existing b shortcut (plain cell) is unchanged.

Test plan

  • pnpm typecheck / pnpm lint pass
  • Existing hotkey tests pass (no key collisions)
  • Manually verified in a running notebook: Escq inserts a focused SQL cell below, in the correct order relative to the auto-inserted import marimo as mo, without running any cell; Escb still creates a plain cell (regression check)

Press Esc then q to create and focus a new SQL cell below the current
cell, without executing it. Mirrors the existing b (create cell below)
shortcut. Adds the marimo import if missing.

Closes marimo-team#10688
@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview Aug 29, 2026 5:18pm

Request Review

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 29, 2026
@github-actions

github-actions Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@Aniket-a14
Aniket-a14 marked this pull request as ready for review August 29, 2026 17:13
@Aniket-a14
Aniket-a14 requested a review from akshayka as a code owner August 29, 2026 17:13
@Aniket-a14

Aniket-a14 commented Aug 29, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@Aniket-a14

Copy link
Copy Markdown
Author

recheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a command-mode shortcut to create a SQL cell below

1 participant