From 80305a516650107cb806f657d1a09b65808f7d5f Mon Sep 17 00:00:00 2001 From: Devyn Challman Date: Sat, 26 Apr 2025 21:43:20 -0700 Subject: add basic menus --- llm-chat.el | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/llm-chat.el b/llm-chat.el index b39e730..57b5288 100644 --- a/llm-chat.el +++ b/llm-chat.el @@ -26,6 +26,29 @@ ;;; Code: +(require 'transient) + +(transient-define-prefix llm-chat-prompt-menu () + ["llm-chat prompt menu" + ("u" "user prompt" ignore) + ("s" "system prompt" ignore)]) + +(transient-define-prefix llm-chat-settings-menu () + ["llm-chat settings menu" + ("t" "temperature" ignore) + ("s" "stream" ignore)]) + +(transient-define-prefix llm-chat-menu () + ["llm-chat menu" + ("p" "prompt evaluate" ignore) + ("i" "insert prompt" llm-chat-prompt-menu) + ("m" "model select" ignore) + ("hs" "history save" ignore) + ("hl" "history load" ignore) + ("hc" "history clear" ignore) + ("s" "settings" llm-chat-settings-menu) + ("q" "close menu" ignore)]) + (provide 'llm-chat) ;;; llm-chat.el ends here -- cgit v1.2.3