aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/eat-config.el10
-rw-r--r--modules/test-runner.el26
2 files changed, 18 insertions, 18 deletions
diff --git a/modules/eat-config.el b/modules/eat-config.el
index f764848e..72f27bda 100644
--- a/modules/eat-config.el
+++ b/modules/eat-config.el
@@ -414,9 +414,9 @@ terminal. ai-term's agent buffers are managed separately via M-SPC."
;; ------------------- terminal copy mode + tmux history -----------------------
;; Carried over from the ghostel era for the EAT agent terminals (ai-term).
;; Agents run EAT over tmux, so copy-mode is tmux's own copy-mode -- the same UX
-;; ghostel-over-tmux had. C-<up> enters it and scrolls up in one stroke; C-; x c
-;; enters it via the menu, C-; x h grabs the whole pane history into a buffer,
-;; and C-; x d detaches the tmux client without going through its prefix.
+;; ghostel-over-tmux had. C-<up> enters it and scrolls up in one stroke; C-; t c
+;; enters it via the menu, C-; t h grabs the whole pane history into a buffer,
+;; and C-; t d detaches the tmux client without going through its prefix.
(declare-function cj/register-prefix-map "keybindings")
(declare-function eat-emacs-mode "eat")
@@ -628,13 +628,13 @@ pty; without tmux, moves point up in EAT's emacs-mode buffer."
(cj/term-copy-mode-dwim))
(forward-line -1)))))
-;; The C-; x terminal prefix (copy-mode, tmux detach, tmux history, the F12
+;; The C-; t terminal prefix (copy-mode, tmux detach, tmux history, the F12
;; toggle). C-<up>
;; enters copy-mode + scrolls in one stroke; bound in EAT's semi-char map so it
;; reaches Emacs from inside an agent terminal.
(defvar-keymap cj/term-map
:doc "Personal terminal command map.")
-(cj/register-prefix-map "x" cj/term-map)
+(cj/register-prefix-map "t" cj/term-map "terminal menu")
(keymap-set cj/term-map "c" #'cj/term-copy-mode-dwim)
(keymap-set cj/term-map "d" #'cj/term-tmux-detach)
(keymap-set cj/term-map "h" #'cj/term-tmux-history)
diff --git a/modules/test-runner.el b/modules/test-runner.el
index 6cb35275..54d56974 100644
--- a/modules/test-runner.el
+++ b/modules/test-runner.el
@@ -6,7 +6,7 @@
;; Layer: 2 (Core UX).
;; Category: C/L.
;; Load shape: eager.
-;; Eager reason: registers the C-; t test runner entry point and state.
+;; Eager reason: registers the C-; T test runner entry point and state.
;; Top-level side effects: defines and registers cj/test-map.
;; Runtime requires: ert, cl-lib, keybindings, system-lib.
;; Direct test load: yes.
@@ -15,7 +15,7 @@
;; Test roots come from Projectile projects, falling back to the config's tests
;; directory, and test files are discovered by the test-*.el convention.
;;
-;; Commands under C-; t load tests, run all/focused tests, run the test at point,
+;; Commands under C-; T load tests, run all/focused tests, run the test at point,
;; and manage the per-project focus list.
;;; Code:
@@ -490,21 +490,21 @@ Returns the number of tests deleted."
"v" #'cj/test-view-focused
"t" #'cj/test-toggle-mode)
-(cj/register-prefix-map "t" cj/testrunner-map)
+(cj/register-prefix-map "T" cj/testrunner-map)
;; which-key integration
(with-eval-after-load 'which-key
(which-key-add-key-based-replacements
- "C-; t" "test runner menu"
- "C-; t L" "load all tests"
- "C-; t R" "run all tests"
- "C-; t r" "run smart"
- "C-; t ." "run test at point"
- "C-; t a" "add to focus"
- "C-; t b" "add buffer to focus"
- "C-; t c" "clear focus"
- "C-; t v" "view focused"
- "C-; t t" "toggle mode"))
+ "C-; T" "test runner menu"
+ "C-; T L" "load all tests"
+ "C-; T R" "run all tests"
+ "C-; T r" "run smart"
+ "C-; T ." "run test at point"
+ "C-; T a" "add to focus"
+ "C-; T b" "add buffer to focus"
+ "C-; T c" "clear focus"
+ "C-; T v" "view focused"
+ "C-; T t" "toggle mode"))
(provide 'test-runner)
;;; test-runner.el ends here