]> git.donarmstrong.com Git - lib.git/commitdiff
add aidermacs master
authorDon Armstrong <don@donarmstrong.com>
Tue, 29 Jul 2025 17:58:26 +0000 (10:58 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 29 Jul 2025 17:58:26 +0000 (10:58 -0700)
emacs_el/configuration/don-configuration.org

index 8db5c66c916505fa807a83dbeace5922bf9190c8..bbb8ed9d6aca24faddff9f76fe1cd1455dd97dca 100644 (file)
@@ -1587,6 +1587,22 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
   (setq calendar-longitude -121.5)
   )
 #+END_SRC
+** AI Programming (Aidermacs)
+#+BEGIN_SRC emacs-lisp
+(use-package aidermacs
+  :delight
+  :bind (("C-c a" . aidermacs-transient-menu))
+  :config
+  ; Set API_KEY in .bashrc, that will automatically picked up by aider or in elisp
+  ; (setenv "ANTHROPIC_API_KEY" "sk-...")
+  ; defun my-get-openrouter-api-key yourself elsewhere for security reasons
+  ; (setenv "OPENROUTER_API_KEY" (my-get-openrouter-api-key))
+  :custom
+  ; See the Configuration section below
+  (aidermacs-default-chat-mode 'architect)
+  (aidermacs-default-model "sonnet")
+)
+#+END_SRC
 
 * Email
 ** Mutt