You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keybind Ctrl + . does not work with non-US keyboard layouts (e.g., Russian) #40048
The Ctrl + . keybind is matched against the produced character of the pressed key rather than its physical position. On non-US layouts the period character lives on a different physical key, so the shortcut requires pressing a key the user is not used to.
Concretely with the Russian (ЙЦУКЕН) layout:
The physical period key (US key code 190) types ю on the Russian layout, so Ctrl + 190 does nothing.
The period character . is produced by the physical key with code 191, so the keybind only fires with Ctrl + 191.
Plugins
None (default)
OpenCode version
1.18.11 (desktop app)
Steps to reproduce
Switch the keyboard layout to Russian (ЙЦУКЕН).
Press Ctrl + . on the physical period key (US key code 190).
The keybind does not fire.
Press Ctrl + 191 (the key that types . on the Russian layout).
The keybind fires.
Screenshot and/or share link
N/A
Operating System
Windows 10 22H2
Terminal
N/A — desktop app
Additional context
Expected behavior: keybinds should be layout-independent and bind to the physical key position (e.g., e.code === "Period" for key code 190) instead of the produced character (e.key). With the current behavior the same physical key triggers different keybinds depending on the active layout, which is confusing when switching between layouts.
Activity
github-actions commentedon Aug 1, 2026
This issue might be a duplicate of existing issues. Please check:
For keybind-related issues, please also check our pinned keybinds documentation: #4997
github-actions commentedon Oct 1, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.