[emacs] AI stuff?

This commit is contained in:
John Doty 2026-05-04 15:07:16 -07:00
parent 7c3ea773b5
commit 3475c0dc58
2 changed files with 42 additions and 12 deletions

View file

@ -63,8 +63,19 @@
'(org-odd-levels-only t) '(org-odd-levels-only t)
'(org-todo-keywords '((sequence "TODO" "|" "DONE" "ABANDONED" "DEFERRED"))) '(org-todo-keywords '((sequence "TODO" "|" "DONE" "ABANDONED" "DEFERRED")))
'(package-check-signature nil) '(package-check-signature nil)
'(package-selected-packages nil) '(package-selected-packages
'(package-vc-selected-packages '((claudemacs :url "https://github.com/cpoile/claudemacs"))) '(adaptive-wrap add-node-modules-path bazel blacken cider claude-code-ide
claudemacs company dap-mode deadgrep doom-themes
earthfile-mode eat editorconfig eglot-java
exec-path-from-shell filladapt fish-mode flycheck-elm
ghostel go-mode gptel howm ink-mode jsonnet-mode lua-mode
magit modus-themes monky poly-markdown prettier-js
protobuf-mode request ron-mode rust-mode scala-ts-mode
sql-indent swift-mode terraform-mode typescript-mode vterm
wgsl-mode xterm-color zig-mode))
'(package-vc-selected-packages
'((claude-code-ide :url "https://github.com/manzaltu/claude-code-ide.el")
(claudemacs :url "https://github.com/cpoile/claudemacs")))
'(reb-re-syntax 'string) '(reb-re-syntax 'string)
'(rmail-mail-new-frame t) '(rmail-mail-new-frame t)
'(safe-local-variable-directories '("/home/john.doty/universe/")) '(safe-local-variable-directories '("/home/john.doty/universe/"))

View file

@ -1386,17 +1386,36 @@ Do this when you edit your project view."
;; ================================================================= ;; =================================================================
;; AI Shit ;; AI Shit
;; ================================================================= ;; =================================================================
(use-package claudemacs ;; (use-package claudemacs
:vc (:url "https://github.com/cpoile/claudemacs") ;; :vc (:url "https://github.com/cpoile/claudemacs")
:bind ("C-c C-'" . claudemacs-transient-menu)) ;; :bind ("C-c C-'" . claudemacs-transient-menu))
;; (use-package claude-code-ide ;; Ghostel: libghostty-vt terminal emulator.
;; :straight (:type git :host github :repo "manzaltu/claude-code-ide.el") ;; Auto-downloads the pre-built native module on first use.
;; :bind ("C-c C-'" . claude-code-ide-menu) ; Set your favorite keybinding (use-package ghostel
;; :config :ensure t
;; (setq claude-code-ide-terminal-backend 'eat) :custom
;; (setq claude-code-ide-use-side-window nil) ;; Auto-install the native module without prompting. Set to 'ask
;; (claude-code-ide-emacs-tools-setup)) ; Optionally enable Emacs MCP tools ;; if you'd rather be prompted the first time.
(ghostel-module-auto-install t))
(use-package vterm
:ensure t)
;; Claude Code IDE: bidirectional MCP bridge to claude-code CLI.
;; Not on MELPA yet, install via :vc from GitHub.
(use-package claude-code-ide
:vc (:url "https://github.com/manzaltu/claude-code-ide.el" :rev :newest)
:bind ("C-c C-'" . claude-code-ide-menu)
:custom
;; Use ghostel for the terminal buffer. Other options: 'vterm, 'eat.
(claude-code-ide-terminal-backend 'vterm)
;; Show Claude's proposed edits in ediff before applying. Default t.
(claude-code-ide-use-ide-diff t)
:config
;; Expose Emacs's xref/tree-sitter/project/diagnostics to Claude
;; via MCP tools. This is the bidirectional-bridge part.
(claude-code-ide-emacs-tools-setup))
;; (defun claude-get-api-key () ;; (defun claude-get-api-key ()
;; "Get Claude API key from ~/.config/io.datasette.llm/keys.json file." ;; "Get Claude API key from ~/.config/io.datasette.llm/keys.json file."