Add Aider and change font to other Iosevka
Some checks failed
/ Test config on 20 (push) Failing after 47s
Some checks failed
/ Test config on 20 (push) Failing after 47s
This commit is contained in:
parent
3d47b6e70f
commit
bd87a9f883
4 changed files with 186 additions and 171 deletions
332
elpaca.lock
332
elpaca.lock
File diff suppressed because it is too large
Load diff
|
|
@ -32,12 +32,25 @@
|
||||||
gptel-backend (gptel-make-anthropic "Claude"
|
gptel-backend (gptel-make-anthropic "Claude"
|
||||||
:stream t :key (lambda () anthropic-api-key))))
|
:stream t :key (lambda () anthropic-api-key))))
|
||||||
|
|
||||||
;; Pretend to be 'AI editor'.
|
;; Pretend to be 'AI editor' vol 1. Before usage make sure aider is installed:
|
||||||
|
;; $ pip install aider-install
|
||||||
|
;; $ aider install
|
||||||
|
(use-package aider :ensure (:host github :repo "tninja/aider.el" :files ("aider.el"))
|
||||||
|
:defer t
|
||||||
|
:config
|
||||||
|
(setopt aider-args (list "--model"
|
||||||
|
"anthropic/claude-3-5-sonnet-20241022"
|
||||||
|
"--anthropic-api-key"
|
||||||
|
anthropic-api-key
|
||||||
|
"--no-auto-commits")))
|
||||||
|
|
||||||
|
;; Pretend to be 'AI editor' vol 2.
|
||||||
(use-package elysium :ensure t :defer t
|
(use-package elysium :ensure t :defer t
|
||||||
:config
|
:config
|
||||||
(setopt elysium-window-size 0.33) ;; The elysium buffer will be 1/3 your screen
|
;; The elysium buffer will be 1/3 your screen
|
||||||
(setopt elysium-window-style 'vertical) ;; Elysium buffer will be vertical
|
(setopt elysium-window-size 0.33)
|
||||||
)
|
;; Elysium buffer will be vertical
|
||||||
|
(setopt elysium-window-style 'vertical))
|
||||||
|
|
||||||
;; Merging with SMerge
|
;; Merging with SMerge
|
||||||
(use-package smerge-mode :ensure nil
|
(use-package smerge-mode :ensure nil
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,8 @@
|
||||||
;; (defconst icejam-font "Inconsolata"
|
;; (defconst icejam-font "Inconsolata"
|
||||||
;; (defconst icejam-font "Victor Mono Medium" "Default font.")
|
;; (defconst icejam-font "Victor Mono Medium" "Default font.")
|
||||||
|
|
||||||
(defconst icejam-font "Iosevka Term" "Default font.")
|
;; (defconst icejam-font "Iosevka Term" "Default font.")
|
||||||
|
(defconst icejam-font "Iosevka Comfy Motion" "Default font.")
|
||||||
|
|
||||||
(defconst icejam-font-size 14
|
(defconst icejam-font-size 14
|
||||||
"Default size of then font.
|
"Default size of then font.
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@
|
||||||
("y" "Snippet" company-yasnippet)
|
("y" "Snippet" company-yasnippet)
|
||||||
("m" "Any (Company)" company-complete)
|
("m" "Any (Company)" company-complete)
|
||||||
("g" "Ask GPT" gptel-menu)
|
("g" "Ask GPT" gptel-menu)
|
||||||
|
("a" "Aider" aider-transient-menu)
|
||||||
("e" "Refactor (Elysium)" elysium-query)]
|
("e" "Refactor (Elysium)" elysium-query)]
|
||||||
["Find"
|
["Find"
|
||||||
("s" "Swiper" consult-line)
|
("s" "Swiper" consult-line)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue