google-gemini / google-gemini/gemini-cli
keybindings.json not being honored for intput.submit and input.newline
- Dominant language
- TypeScript
- Stars
- 107k
- Forks
- 14.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 45
Description
### What happened?
This does not work as expected
```jsonc
[
{
// unbind defaults for input.newline
"command": "-input.newline",
"keys": [
"alt+enter",
"ctrl+enter",
"shift+enter",
"ctrl+j"
]
},
{
// unbind default for input.submit
"command": "-input.submit",
"key": "enter"
},
{
// create newline with enter
"command": "input.newline",
"key": "enter"
},
{
// submit prompt with ctrl+enter
"command": "input.submit",
"key": "ctrl+enter"
}
]
```
### What did you expect to happen?
I want `enter` to create a newline and `ctrl+enter` to submit the prompt.
### Client information
Client Information
Run `gemini` to enter the interactive CLI, then run the `/about` command.
```console
│ About Gemini CLI
│ CLI Version 0.33.2
│ Git Commit cc5a0dc3c
│ Model Auto (Gemini 3)
│ Sandbox no sandbox
│ OS linux │
│ Auth Method Logged in with Google (*@gmail.com)
│ Tier Gemini Code Assist in Google One AI Pro
```
### Login information
_No response_
### Anything else we need to know?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.