diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-23 21:16:27 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-23 21:16:27 -0400 |
| commit | e62ea922c07dc9a2d82d71f23e52a44034fd165d (patch) | |
| tree | 6b5e821302aa9f24e694ee370799b564b2b2c4bc /modules/jumper.el | |
| parent | 10fa6f4e2e7150ad99827721ada1ae4badcc5e90 (diff) | |
| download | dotemacs-e62ea922c07dc9a2d82d71f23e52a44034fd165d.tar.gz dotemacs-e62ea922c07dc9a2d82d71f23e52a44034fd165d.zip | |
feat(ai-term): move keybindings to C-; a and M-SPC, retire F9
I moved the ai-term family off the F9 keys onto the C-; a prefix, vacated when gptel was archived: a toggles the agent, s opens the project picker, n swaps to the next agent, k closes one. The frequent swap also gets M-SPC as a fast chord, bound in ghostel-mode-map and added to the semi-char exceptions so it reaches Emacs from inside an agent buffer.
cj/ai-term-next now opens the project picker when no agent is running instead of erroring, so the swap key doubles as a "start an agent" key.
To free M-SPC, I removed jumper's M-SPC binding. Jumper's commands stay reachable via M-x, with a cleverer home pending review.
Diffstat (limited to 'modules/jumper.el')
| -rw-r--r-- | modules/jumper.el | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/modules/jumper.el b/modules/jumper.el index d5d0cf7a..3dc00aa1 100644 --- a/modules/jumper.el +++ b/modules/jumper.el @@ -303,16 +303,12 @@ Returns: \\='no-locations if no locations stored, (interactive) (keymap-global-set jumper-prefix-key jumper-map)) -;; Call jumper-setup-keys when the package is loaded -(jumper-setup-keys) - -;; which-key integration -(with-eval-after-load 'which-key - (which-key-add-key-based-replacements - "M-SPC" "jumper menu" - "M-SPC SPC" "store location" - "M-SPC j" "jump to location" - "M-SPC d" "remove location")) +;; Jumper's M-SPC prefix was removed 2026-06-23 so M-SPC could go to +;; `cj/ai-term-next'. A cleverer home for jumper (numbers or F-keys) is +;; pending review; until then its commands are reachable via M-x +;; (jumper-store-location / jumper-jump-to-location / jumper-remove-location). +;; To re-home: set `jumper-prefix-key' to the new prefix and call +;; `jumper-setup-keys' (and restore the which-key labels for that prefix). (provide 'jumper) ;;; jumper.el ends here. |
