mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-14 08:01:02 -07:00
feat(cli): implement tri-state '?' shortcuts toggle (#18547)
This commit is contained in:
@@ -128,9 +128,10 @@ available combinations.
|
||||
- `Option+B/F/M` (macOS only): Are interpreted as `Cmd+B/F/M` even if your
|
||||
terminal isn't configured to send Meta with Option.
|
||||
- `!` on an empty prompt: Enter or exit shell mode.
|
||||
- `?` on an empty prompt: Toggle the shortcuts panel above the input. Press
|
||||
`Esc`, `Backspace`, or any printable key to close it. Press `?` again to close
|
||||
the panel and insert a `?` into the prompt.
|
||||
- `?` on an empty prompt: First press opens the shortcuts panel, second press
|
||||
closes it without inserting text, and third press inserts a literal `?`.
|
||||
Pressing `Esc` or `Backspace` closes the panel. Pressing any other printable
|
||||
key closes the panel and inserts that key.
|
||||
- `\` (at end of a line) + `Enter`: Insert a newline without leaving single-line
|
||||
mode.
|
||||
- `Esc` pressed twice quickly: Clear the input prompt if it is not empty,
|
||||
|
||||
Reference in New Issue
Block a user