branch: externals/ellama
commit 6cd1465e5aec0d61ccc65192fdd1378f5bd665d4
Author: Sergey Kostyaev <[email protected]>
Commit: Sergey Kostyaev <[email protected]>
Reorder and organize options in `ellama-transient.el`
Organized the transient menu by moving the "Options" section to appear
before
the "Context Commands" section for better user experience. This change
ensures
that configuration options are easily accessible right after invoking the
context menu.
---
ellama-transient.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ellama-transient.el b/ellama-transient.el
index 4a39c9a120..458110be48 100644
--- a/ellama-transient.el
+++ b/ellama-transient.el
@@ -349,6 +349,8 @@ ARGS used for transient arguments."
;;;###autoload (autoload 'ellama-transient-context-menu "ellama-transient" nil
t)
(transient-define-prefix ellama-transient-context-menu ()
"Context Commands."
+ ["Options"
+ ("-e" "Use Ephemeral Context" "--ephemeral")]
["Context Commands"
:description (lambda ()
(ellama-context-update-buffer)
@@ -361,8 +363,6 @@ ARGS used for transient arguments."
("f" "Add File" ellama-transient-add-file)
("s" "Add Selection" ellama-transient-add-selection)
("i" "Add Info Node" ellama-transient-add-info-node)]
- ["Options"
- ("-e" "Use Ephemeral Context" "--ephemeral")]
["Manage"
("m" "Manage context" ellama-context-manage)
("D" "Delete element" ellama-context-element-remove-by-name)