Skip to content

"Ctrl + X" in WSL opens only Vim editor window #16278

@IT-Knight

Description

@IT-Knight

What happened?

I have configured gemini cli inside WSL - Ubuntu 24.04 for the native support of the cli (and it works faster and better).
Using Powershell 7.5.

When I attemp to open the prompt in an "external editor" or whatether editor, except Vim (the window you can move out of only using ":wq") — no any trick works to overcome this:

  • changing default system editor with sudo update-alternatives --config editor
  • wrapping Vim to open Micro
  • changing Vim aliases
  • setup the cli's /editor to Vs Code or None

ALSO: I cannot safely copy-paste anything from the system buffer.

What did you expect to happen?

When I press Ctrl + X, I expect to open the prompt in nano/micro/vs code — anything except Vim (or Vm).
In windows I used to see it in the default Notepad.

I'd expect to have a safe way to copy-paste multiline texts/logs (so it doesn't exec the prompt) (via external editor).

Client information

  • CLI Version: 0.23.0
  • Git Commit: 3ff0558
  • Session ID: b8a2314f-de62-4a3b-81e8-410a4d5f6b0b
  • Operating System: linux v24.12.0
  • Sandbox Environment: no sandbox
  • Model Version: auto-gemini-3
  • Memory Usage: 250.6 MB
  • Terminal Name: Unknown
  • Terminal Background: Unknown
  • Kitty Keyboard Protocol: Unsupported

Login information

Google Account

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

area/coreIssues related to User Interface, OS Support, Core Functionalityhelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!windowsWindows OS related fix or improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions