Getting rid of AI packages I don't use
This commit is contained in:
parent
82afd54a9c
commit
c20eda48a8
4 changed files with 7 additions and 39 deletions
|
|
@ -221,36 +221,6 @@ And let’s make that the default now:
|
||||||
:config
|
:config
|
||||||
(setq agent-shell-preferred-agent-config (agent-shell-google-make-gemini-config)))
|
(setq agent-shell-preferred-agent-config (agent-shell-google-make-gemini-config)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** AI Code Interface
|
|
||||||
While the =agent-shell= offers a /vibe-codey/ interface to Chatbots, the [[https://github.com/tninja/ai-code-interface.el][ai-code-interface]] offers a more /programmatic/ interface.
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package ai-code
|
|
||||||
:straight (:host github :repo "tninja/ai-code-interface.el")
|
|
||||||
:config
|
|
||||||
;; use codex as backend, other options are 'claude-code, 'gemini,
|
|
||||||
;; 'github-copilot-cli, 'opencode, 'grok, 'cursor, 'kiro,
|
|
||||||
;; 'codebuddy, 'aider, 'eca, 'agent-shell, 'claude-code-ide,
|
|
||||||
;; 'claude-code-el
|
|
||||||
(ai-code-set-backend 'gemini)
|
|
||||||
|
|
||||||
;; Enable global keybinding for the main menu
|
|
||||||
(global-set-key (kbd "C-c a") #'ai-code-menu)
|
|
||||||
|
|
||||||
;; Optional: Enable @ file completion in comments and AI sessions
|
|
||||||
(ai-code-prompt-filepath-completion-mode 1)
|
|
||||||
|
|
||||||
;; Optional: Ask AI to run test after code changes, for a tighter build-test loop
|
|
||||||
;; (setq ai-code-auto-test-type 'ask-me)
|
|
||||||
|
|
||||||
;; Optional: In AI session buffers, SPC in Evil normal state triggers the prompt-enter UI
|
|
||||||
;; (with-eval-after-load 'evil (ai-code-backends-infra-evil-setup))
|
|
||||||
|
|
||||||
;; Optional: Set up Magit integration for AI commands in Magit popups
|
|
||||||
(with-eval-after-load 'magit
|
|
||||||
(ai-code-magit-setup-transients)))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
* Git and Magit
|
* Git and Magit
|
||||||
Can not live without [[https://magit.vc/][Magit]], a Git porcelain for Emacs. I stole the bulk of this work from Doom Emacs.
|
Can not live without [[https://magit.vc/][Magit]], a Git porcelain for Emacs. I stole the bulk of this work from Doom Emacs.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
#+date: 2020-09-18
|
#+date: 2020-09-18
|
||||||
#+tags: emacs org
|
#+tags: emacs org
|
||||||
#+startup: inlineimages
|
#+startup: inlineimages
|
||||||
#+lastmod: [2026-08-10 Mon]
|
#+lastmod: [2026-10-09 Fri]
|
||||||
|
|
||||||
A literate programming file for configuring org-mode and those files.
|
A literate programming file for configuring org-mode and those files.
|
||||||
|
|
||||||
|
|
@ -940,7 +940,7 @@ Since the /definitions/ do not work, so let's use the [[https://github.com/abo-a
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package define-word
|
(use-package define-word
|
||||||
:config
|
:config
|
||||||
(ha-leader :keymaps 'text-mode-map
|
(ha-leader
|
||||||
"s d" '(:ignore t :which-key "dictionary")
|
"s d" '(:ignore t :which-key "dictionary")
|
||||||
"s d d" '("define this word" . define-word-at-point)
|
"s d d" '("define this word" . define-word-at-point)
|
||||||
"s d a" '("define any word" . define-word)))
|
"s d a" '("define any word" . define-word)))
|
||||||
|
|
@ -1183,7 +1183,8 @@ I create a configuration file in my home directory:
|
||||||
"stop-words": false,
|
"stop-words": false,
|
||||||
"terminology": { "severity": "warning" },
|
"terminology": { "severity": "warning" },
|
||||||
"unexpanded-acronym": { "severity": "warning" },
|
"unexpanded-acronym": { "severity": "warning" },
|
||||||
"write-good": false
|
"write-good": false,
|
||||||
|
"unexpanded-acronym": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#+author: Howard X. Abrams
|
#+author: Howard X. Abrams
|
||||||
#+date: 2025-11-24
|
#+date: 2025-11-24
|
||||||
#+filetags: emacs hamacs
|
#+filetags: emacs hamacs
|
||||||
#+lastmod: [2026-09-11 Fri]
|
#+lastmod: [2026-10-09 Fri]
|
||||||
|
|
||||||
A literate programming file for configuring Hammerspoon.
|
A literate programming file for configuring Hammerspoon.
|
||||||
|
|
||||||
|
|
@ -76,7 +76,7 @@ To create specific key bindings for starting applications, I can:
|
||||||
end)
|
end)
|
||||||
|
|
||||||
hs.hotkey.bind({"alt", "ctrl", "shift"}, "F", function()
|
hs.hotkey.bind({"alt", "ctrl", "shift"}, "F", function()
|
||||||
hs.application.launchOrFocus("Firefox")
|
hs.application.launchOrFocus("Vivaldi")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
hs.hotkey.bind({"alt", "ctrl", "shift"}, "C", function()
|
hs.hotkey.bind({"alt", "ctrl", "shift"}, "C", function()
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@
|
||||||
* Work Issues
|
* Work Issues
|
||||||
$0
|
$0
|
||||||
|
|
||||||
* Onboarding Work
|
|
||||||
See [[file:Onboarding-Work.org][Onboard-Work]] for all details.
|
|
||||||
|
|
||||||
* Distractions and Support
|
* Distractions and Support
|
||||||
Anything that doesn't fit the above goes here.
|
Anything that doesn't fit the above goes here.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue