aidermacs layer config

This commit is contained in:
Petr Nyc
2026-01-22 15:51:03 +01:00
parent d0b359d475
commit db6a8c0de2

View File

@@ -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)