diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-03 19:10:50 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-03 19:10:50 -0500 |
| commit | c2f355bf601fd9b7db0107c163c64432a7ae9a80 (patch) | |
| tree | 9df8e899861bb0374d9a9157b7a37962b6f5d5e7 /modules/org-capture-config.el | |
| parent | 875887fc3821869c7ca8f23777e79caa00b3999e (diff) | |
| download | dotemacs-c2f355bf601fd9b7db0107c163c64432a7ae9a80.tar.gz dotemacs-c2f355bf601fd9b7db0107c163c64432a7ae9a80.zip | |
fix: keep C-; ! as system command prefix
The module was binding `cj/system-command-map` under `C-; !`, then a few lines later overwriting the same prefix with `cj/system-command-menu`. The second bind won, so every documented subkey, like `C-; ! r` for reboot and `C-; ! l` for lock, was unreachable.
I kept the prefix map and folded the completing-read menu into it at `C-; ! !`. So `C-; !` still opens the prefix, the menu is one extra `!` away, and the single-letter shortcuts work again. I also added which-key labels for every documented subkey so the popup actually says what each one does.
I added `tests/test-system-commands-keymap.el`. It asserts the prefix stays mounted and that every binding (`!`, `L`, `r`, `s`, `S`, `l`, `E`, `e`) resolves to the right command.
Diffstat (limited to 'modules/org-capture-config.el')
0 files changed, 0 insertions, 0 deletions
