From db6a8c0de2ae50b6351a9ba614151d26e989914b Mon Sep 17 00:00:00 2001 From: Petr Nyc Date: Thu, 22 Jan 2026 15:51:03 +0100 Subject: [PATCH] aidermacs layer config --- .spacemacs | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/.spacemacs b/.spacemacs index 957b671..b4161bf 100644 --- a/.spacemacs +++ b/.spacemacs @@ -34,6 +34,14 @@ This function should only modify configuration layer settings." dotspacemacs-configuration-layers '(swift multiple-cursors ;; https://www.spacemacs.org/layers/+misc/multiple-cursors/README.html#key-bindings + (aider :variables + aidermacs-default-chat-mode 'architect + aidermacs-default-model "oca/gpt5" + aidermacs-backend 'vterm ;; Highly recommended for Spacemacs/Mac users over comint + aidermacs-program "/opt/homebrew/bin/ocaider" + aidermacs-extra-args '("--watch-files") + ) + shell yaml notmuch @@ -104,7 +112,6 @@ This function should only modify configuration layer settings." org-msg ;org-caldav ;org-protocol - aidermacs ) ;; A list of packages that cannot be updated. @@ -1106,24 +1113,6 @@ before packages are loaded." ) (org-alert-enable)) - (use-package aidermacs - :defer t ;; Lazy load until invoked - :init - ;; Set variables here so they are ready before the package loads - (setq aidermacs-default-chat-mode 'architect - aidermacs-default-model "oca/gpt5" - aidermacs-backend 'vterm ;; Highly recommended for Spacemacs/Mac users over comint - aidermacs-program "/opt/homebrew/bin/ocaider" - aidermacs-extra-args '("--watch-files") - ) - :config - ;; Optional: Spacemacs-style keybindings (Leader key) - ;; Mnemonic: SPC a (apps) i (intelligence/aider) - (spacemacs/set-leader-keys - "ai" 'aidermacs-transient-menu) - ) - - (defun my/markdown-toggle-checkbox () "Toggle checkbox in markdown list at point." (interactive)