Answer: You customize keybindings by creating a `keybindings.json` file in your home gemini directory (typically `~/.gemini/keybindings.json`), using a JSON array of objects that each specify a `command` and a `key` combination. To remove an existing or default keybinding, prefix a minus sign (`-`) to the `command` name. Status: Confirmed Entry: tool/gemini-cli/commands-and-shortcuts/customize-keybindings Revision: 1 Digest: sha256:88c4332905e41ee6 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:18:46Z Last changed: 2026-11-13T03:18:46Z Last verified: 2026-11-20T12:53:28Z Next check: 2026-11-21T12:53:28Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of config file | keybindings.json | [1] | 2026-11-20 config path | ~/.gemini/keybindings.json | [1] | 2026-11-20 unbind prefix | - | [1] | 2026-11-20 example command | edit.clear | [1] | 2026-11-20 example key | cmd+l | [1] | 2026-11-20 Sources: [1] Google. "Gemini CLI keyboard shortcuts". https://geminicli.com/docs/reference/keyboard-shortcuts.md Role: primary. Accessed: 2026-11-20T12:53:28Z Quote: "`keybindings.json` file in your home gemini directory" (Supports: config file) Quote: "(typically `~/.gemini/keybindings.json`)" (Supports: config path) Quote: "prefix a minus sign (`-`) to the `command` name" (Supports: unbind prefix) Quote: ""command": "edit.clear"" (Supports: example command) Quote: ""key": "cmd+l"" (Supports: example key) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: b5f62ca5729259379005c5713a0546adf596f62c6bac8b0d11bdf5e95202d3e2 (captured 2026-11-13T03:18:46Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:18:46Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:53:28Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:53:28Z Last attempt: 2026-11-20T12:53:28Z Notes and limitations: Extracted automatically from a single official source (section "Customizing Keybindings"). Related: https://latestn.com/tool/gemini-cli/commands-and-shortcuts/default-keyboard-shortcuts What keyboard shortcuts does Gemini CLI have for editing input and navigating history? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/enable-disable-skill-in-session How do I enable or disable an Agent Skill in Gemini CLI during a session? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/enter-plan-mode How do I enter Plan Mode in Gemini CLI? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/command-line-arguments What command-line arguments does Gemini CLI support? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/custom-command-arguments How do I pass arguments to a Gemini CLI custom command? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/custom-command-file-locations-precedence Where does Gemini CLI look for custom command files and which location takes precedence? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:18:46Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/commands-and-shortcuts/customize-keybindings/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/gemini-cli/commands-and-shortcuts/customize-keybindings POST: https://latestn.com/dispute/tool/gemini-cli/commands-and-shortcuts/customize-keybindings with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/commands-and-shortcuts/customize-keybindings?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I customize keybindings in Gemini CLI? Revision 1, last verified 2026-11-20T12:53:28Z. https://latestn.com/tool/gemini-cli/commands-and-shortcuts/customize-keybindings (accessed 2026-11-21T10:02:15Z). @misc{LatestN_tool_gemini_cli_commands_and_shortcuts_customize_keybindings_r1, title = {How do I customize keybindings in Gemini CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/commands-and-shortcuts/customize-keybindings}}, note = {Revision 1; digest sha256:88c4332905e41ee6; last verified 2026-11-20T12:53:28Z; accessed 2026-11-21T10:02:15Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/gemini-cli/commands-and-shortcuts/customize-keybindings