diff options
| author | benj <benj@rse8.com> | 2026-03-15 23:52:53 -0700 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2026-03-15 23:52:53 -0700 |
| commit | f4b4849d82861225134982c031cd591280ebb344 (patch) | |
| tree | cbc4f61a97f956b615dd93fb761387307a3eb91b /init.el | |
| parent | b210f727622cb38287c7bc77b9a31cc8c95c43e3 (diff) | |
| download | emacs-f4b4849d82861225134982c031cd591280ebb344.tar emacs-f4b4849d82861225134982c031cd591280ebb344.tar.gz emacs-f4b4849d82861225134982c031cd591280ebb344.tar.bz2 emacs-f4b4849d82861225134982c031cd591280ebb344.tar.lz emacs-f4b4849d82861225134982c031cd591280ebb344.tar.xz emacs-f4b4849d82861225134982c031cd591280ebb344.tar.zst emacs-f4b4849d82861225134982c031cd591280ebb344.zip | |
global line mode, glyph font, and some aider convenience
Diffstat (limited to '')
| -rw-r--r-- | init.el | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -41,10 +41,16 @@ (use-package emacs :after solarized-theme :init + (global-visual-line-mode) 1 (setq is-mac (equal system-type 'darwin)) (setq enable-recursive-minibuffers t) (set-face-attribute 'default nil :font "Source Code Pro Medium" :height 90) + ;; 2. Set the fallback font for general symbols + (set-fontset-font t 'symbol (font-spec :family "JetBrainsMono Nerd Font") nil 'append) + ;; 3. Explicitly map the Unicode Private Use Area (where Nerd Font icons live) + ;; Range #xE000 to #xF8FF covers Font Awesome, Material, etc. + (set-fontset-font t '(#xE000 . #xF8FF) (font-spec :family "JetBrainsMono Nerd Font") nil 'append)) (setq create-lockfiles nil) (setq backup-directory-alist @@ -111,8 +117,14 @@ (use-package aider :ensure t :config - (setq aider-args '("--model" "sonnet" "--no-auto-accept-architect" "--no-auto-commits")) - (setenv "ANTHROPIC_API_KEY" (auth-source-pass-get 'secret "anthropic.com/api.anthropic.com/apikey")) + (setenv "OPENAI_API_BASE" "http://127.0.0.1:8080/v1") + (setenv "OPENAI_API_KEY" "dummy") + + (setq aider-args + '("--model" "openai/mukel/Qwen2.5-Coder-7B-Instruct-GGUF" + "--no-auto-accept-architect" + "--no-auto-commits")) + (aider-magit-setup-transients)) (use-package apheleia @@ -240,7 +252,8 @@ :prefix-docstring "Emacs AI comamands" :prefix "C-c a" ("a" . 'gptel) - ("c" . 'claude-code-run) + ("r c" . 'claude-code-run) + ("r o" . 'codex-cli-start) ("i" . 'aider-transient-menu) ("s" . 'gptel-menu) ("q" . 'gptel-abort) |
