-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Configurable Hotkeys Support #3049
Copy link
Copy link
Closed
Labels
TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
What feature would you like to see?
It would be highly valuable to introduce configurable hotkeys in Codex. Currently, key bindings such as Ctrl+J, Ctrl+H, etc., are hardcoded. Allowing users to customize these shortcuts would greatly improve accessibility and workflow efficiency across different environments and personal preferences.
How it could be implemented:
[keybindings]) to the existingconfig.tomlfile, where users can specify custom bindings for actions like 'newline', 'backspace', etc.Ctrl,Alt,Shift,Enter, single characters).Example config.toml section:
This feature would make Codex more flexible and user-friendly, especially for users with specific accessibility needs or those coming from different editor backgrounds.
Are you interested in implementing this feature?
I am interested in helping discuss the design, but may not have time to implement. Please coordinate before starting a PR.
Additional information
This approach could also pave the way for future extensibility, such as per-profile or per-mode bindings, and easier adaptation to international keyboards.