branch: elpa/aidermacs
commit fe34d0ceca62676f955a3fda4512a4e01ab0150f
Author: Mingde (Matthew) Zeng <[email protected]>
Commit: Mingde (Matthew) Zeng <[email protected]>
Further streamline transient menus
---
README.md | 12 +++++++++++-
aidermacs.el | 14 +++++++++-----
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 1bc5208bb0..635066e087 100644
--- a/README.md
+++ b/README.md
@@ -254,7 +254,17 @@ The main interface to Aidermacs is through its transient
menu system. Here's a b
- Other Actions: list files (`l`)
##### Code Commands (`C`)
-- Code Actions: code change (`c`), refactor code (`r`), implement TODO (`i`),
write tests (`t`), fix test (`T`), debug exception (`x`), undo changes (`u`)
+- Code Actions:
+ - Code change (`c`)
+ - Refactor code (`r`)
+ - Architect discuss (`a`)
+- Implementation & Testing:
+ - Implement TODO (`i`)
+ - Write tests (`t`)
+ - Fix test (`T`)
+ - Debug exception (`x`)
+- Version Control:
+ - Undo changes (`u`)
##### Understanding
- `m`: Show Last Commit
diff --git a/aidermacs.el b/aidermacs.el
index 81add5274c..82bd136b42 100644
--- a/aidermacs.el
+++ b/aidermacs.el
@@ -112,7 +112,7 @@ PROMPT is the text to display. INITIAL-INPUT is the
default value."
;; Define secondary transient menus
(transient-define-prefix aidermacs-transient-file-commands ()
"File management commands."
- ["File Actions"
+ ["File Commands"
["Add Actions (C-u: read-only)"
("f" "Add Current File" aidermacs-add-current-file)
("i" "Add File Interactively" aidermacs-add-files-interactively)
@@ -130,16 +130,20 @@ PROMPT is the text to display. INITIAL-INPUT is the
default value."
(transient-define-prefix aidermacs-transient-code-commands ()
"Code modification commands."
- ["Code Actions"
- [("c" "Code Change" aidermacs-code-change)
+ ["Code Commands"
+ ["Code Actions"
+ ("c" "Code Change" aidermacs-code-change)
("r" "Refactor Code" aidermacs-function-or-region-refactor)
("a" "Architect Discuss" aidermacs-architect-discussion)]
- [("i" "Implement TODO" aidermacs-implement-todo)
+ ["Implementation & Testing"
+ ("i" "Implement TODO" aidermacs-implement-todo)
("t" "Write Tests" aidermacs-write-unit-test)
("T" "Fix Test" aidermacs-fix-failing-test-under-cursor)
("x" "Debug Exception" aidermacs-debug-exception)]
- [("u" "Undo Auto Git Commit" aidermacs-undo-last-commit)]])
+
+ ["Version Control (when enabled)"
+ ("u" "Undo Auto Git Commit" aidermacs-undo-last-commit)]])
;; Main transient menu
(transient-define-prefix aidermacs-transient-menu ()