Feature hasn't been suggested before.
Describe the enhancement you want to request
Enhancement
Currently, keybinds (including the leader key Ctrl+x) appear to rely on character values rather than physical key codes. This means that when a non-English input method is active (e.g., Korean), shortcuts don't work at all.
For example, with Korean IME active, pressing Ctrl+x is registered as Ctrl+ㅌ (the Korean character mapped to the physical X key), so the leader key never fires. This effectively locks non-English users out of all keybind functionality until they manually switch to English input.
Benefits
- Non-English speaking users can use shortcuts without constantly switching their input method
- This is the standard approach used by other tools (e.g., VS Code, most modern editors)
- Eliminates a common source of confusion — users think shortcuts are broken when they're simply in the wrong input language
- Affects all leader key combinations: session navigation, new session, etc.
Reproduce
- Set keyboard input method to any non-English language (e.g., Korean)
- Press
Ctrl+X to activate the leader key
- Nothing happens — the leader key is not recognized
- Switch input to English → works as expected
Environment
- OpenCode version: 1.2.17
- Interface: TUI
- OS: macOS
- Keyboard input method: Any non-English IME
Feature hasn't been suggested before.
Describe the enhancement you want to request
Enhancement
Currently, keybinds (including the leader key
Ctrl+x) appear to rely on character values rather than physical key codes. This means that when a non-English input method is active (e.g., Korean), shortcuts don't work at all.For example, with Korean IME active, pressing
Ctrl+xis registered asCtrl+ㅌ(the Korean character mapped to the physicalXkey), so the leader key never fires. This effectively locks non-English users out of all keybind functionality until they manually switch to English input.Benefits
Reproduce
Ctrl+Xto activate the leader keyEnvironment