Skip to content

Feedback: keyboard shortcut changes in v23.1 #15822

Open
@knz

Description

@knz

Raphael ‘kena’ Poss (knz) commented:

The file _includes/v23.1/sql/shell-shortcuts.md (note: v23.1, not v22.1) needs to be updated.

New shortcuts:

  • Ctrl+O: force a newline on the same statement even after a semicolon.
  • Alt+>, Ctrl+End: move cursor to end of multi-line input.
  • Alt+<, Ctrl+Home: move cursor to start of multi-line input.
  • Alt+O, Insert: toggle overwrite mode.
  • Alt+Q: reflow / reformat the current line.
  • Alt+Shift+Q, Alt+`: reflow / reformat the entire input.
  • Alt+.: hide/show the prompt. (helps with copy-paste of query text)
  • Alt+2, Alt+F2: invoke external editor on current input.
  • Tab: attempt tab completion (Experimental)

cc @rmloveland
Epic: CRDB-22182

Jira Issue: DOC-7274

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions