aboutsummaryrefslogtreecommitdiff
path: root/modules/jumper.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-23 21:16:27 -0400
committerCraig Jennings <c@cjennings.net>2026-06-23 21:16:27 -0400
commitbe772bc00530adab0d4bb2cedb0eb8fa3aec411c (patch)
treeb747380fdd4674a82427e8edeba4047eb2747119 /modules/jumper.el
parent979242e9a5d14ea4dc77089e38ca5f7af1a45bcc (diff)
downloaddotemacs-be772bc00530adab0d4bb2cedb0eb8fa3aec411c.tar.gz
dotemacs-be772bc00530adab0d4bb2cedb0eb8fa3aec411c.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.el16
1 files changed, 6 insertions, 10 deletions
diff --git a/modules/jumper.el b/modules/jumper.el
index d5d0cf7a7..3dc00aa18 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.