branch: externals/ellama
commit bbac4df1866b26e56009e636c4896e29d063bdfa
Author: Sergey Kostyaev <[email protected]>
Commit: Sergey Kostyaev <[email protected]>
Reorganize transient menu
Reorganized the `ellama-transient-main-menu` by grouping related commands
together and reordering them for better usability.
Relates #236
---
ellama.el | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/ellama.el b/ellama.el
index e6171a1922..23a0ff6007 100644
--- a/ellama.el
+++ b/ellama.el
@@ -3072,25 +3072,25 @@ Call CALLBACK on result list of strings. ARGS contains
keys for fine control.
(transient-define-prefix ellama-transient-main-menu ()
"Main Menu."
- [["Main"
- ("c" "Chat" ellama-chat)
- ("w" "Write" ellama-write)
+ ["Main"
+ [("c" "Chat" ellama-chat)]
+ [("a" "Ask Commands" ellama-transient-ask-menu)
+ ("C" "Code Commands" ellama-transient-code-menu)]]
+ ["Text"
+ [("w" "Write" ellama-write)
("P" "Proofread" ellama-proofread)
- ("a" "Ask Commands" ellama-transient-ask-menu)
- ("C" "Code Commands" ellama-transient-code-menu)
- ("o" "Ollama model" ellama-select-ollama-model)]]
- [["Text"
- ("s" "Summarize Commands" ellama-transient-summarize-menu)
- ("i" "Improve Commands" ellama-transient-improve-menu)
- ("t" "Translate Commands" ellama-transient-translate-menu)
- ("m" "Make Commands" ellama-transient-make-menu)
("k" "Text Complete" ellama-complete)
("g" "Text change" ellama-change)
- ("d" "Define word" ellama-define-word)]]
- [["System"
- ("S" "Session Commands" ellama-transient-session-menu)
- ("x" "Context Commands" ellama-transient-context-menu)
- ("p" "Provider selection" ellama-provider-select)]]
+ ("d" "Define word" ellama-define-word)]
+ [("s" "Summarize Commands" ellama-transient-summarize-menu)
+ ("i" "Improve Commands" ellama-transient-improve-menu)
+ ("t" "Translate Commands" ellama-transient-translate-menu)
+ ("m" "Make Commands" ellama-transient-make-menu)]]
+ ["System"
+ [("o" "Ollama model" ellama-select-ollama-model)
+ ("p" "Provider selection" ellama-provider-select)]
+ [("S" "Session Commands" ellama-transient-session-menu)
+ ("x" "Context Commands" ellama-transient-context-menu)]]
[["Problem solving"
("R" "Solve reasoning problem" ellama-solve-reasoning-problem)
("D" "Solve domain specific problem"
ellama-solve-domain-specific-problem)]]