Skip to content

Add a global keybinding for editing the config file#5728

Merged
stefanhaller merged 4 commits into
masterfrom
global-keybinding-for-edit-config-file
Jun 24, 2026
Merged

Add a global keybinding for editing the config file#5728
stefanhaller merged 4 commits into
masterfrom
global-keybinding-for-edit-config-file

Conversation

@stefanhaller

Copy link
Copy Markdown
Collaborator

The status panel already binds the universal edit key to "edit config file", but that's only reachable while the status panel is focused. Add a dedicated global binding (alt+shift+c) so the config file can be opened from anywhere.

OpenFile (`o`) is for opening a file as if it was double-clicked in
Finder/Explorer; this is useful for binary files like PNGs, but never
for text files. You want to edit them, and there's `e` for that.
The "edit config file" command is about to gain a second, global
keybinding alongside the existing status-panel one. Moving its body into
an action struct (the convention GlobalController already follows for
all its handlers) lets both controllers delegate to one implementation.
The status panel already binds the universal edit key to "edit config
file", but that's only reachable while the status panel is focused. Add
a dedicated global binding (alt+shift+c) so the config file can be
opened from anywhere.
@stefanhaller stefanhaller added the enhancement New feature or request label Jun 24, 2026
@stefanhaller stefanhaller enabled auto-merge June 24, 2026 20:11
@stefanhaller stefanhaller merged commit bc61978 into master Jun 24, 2026
14 checks passed
@stefanhaller stefanhaller deleted the global-keybinding-for-edit-config-file branch June 24, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant