aidermacs は Emacs 上で Aider とやりとりするためのパッケージ。 Aider は AI ペアプロをするためのツールで、それとのやりとりを Emacs 上でできるようにしてくれるやつ
el-get にはレシピがないので自前で用意している
( :name aidermacs
:website "https://github.com/MatthewZMD/aidermacs"
:description "AI Pair Programming in Emacs"
:type github
:pkgname "MatthewZMD/aidermacs"
:branch "main")
そして el-get-bundle
でインストールしている
(el-get-bundle aidermacs)
今はひとまず Gemini を使っているので環境変数に Gemini の API キーをセットしつつモデルの指定を行っている
(setenv "GEMINI_API_KEY"
(funcall (plist-get (nth 0 (auth-source-search :host "gemini" :max 1)) :secret)))
(setopt aidermacs-default-model "gemini-2.5-pro")