Benchmark, raindow parenthesis, ef themes

This commit is contained in:
Zelong Kuang
2025-11-19 11:40:37 +11:00
parent 0963313dbb
commit b431e63bd3
4 changed files with 11 additions and 21 deletions

View File

@@ -67,11 +67,8 @@
(use-package! gptel (use-package! gptel
:config :config
(setq! gptel-api-key "e994f45f9b46cc8608bd2e9cd508417255514e96913b1764aab612512aa66449")
(setq gptel-model 'claude-sonnet-4.5) (setq gptel-model 'claude-sonnet-4.5)
(setq gptel-backend (gptel-make-gh-copilot "Copilot")) (setq gptel-backend (gptel-make-gh-copilot "Copilot"))
(map! "M-s RET" #'gptel-send)
(map! "M-s m" #'gptel-menu)
) )
(use-package! rainbow-delimiters (use-package! rainbow-delimiters

View File

@@ -145,18 +145,12 @@ Configuration
#+end_src #+end_src
*** LLM (gptel) *** LLM (gptel)
#+begin_src emacs-lisp :tangle packages.el
(package! gptel :recipe (:nonrecursive t))
#+end_src
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package! gptel (use-package! gptel
:config :config
(setq! gptel-api-key "e994f45f9b46cc8608bd2e9cd508417255514e96913b1764aab612512aa66449")
(setq gptel-model 'claude-sonnet-4.5) (setq gptel-model 'claude-sonnet-4.5)
(setq gptel-backend (gptel-make-gh-copilot "Copilot")) (setq gptel-backend (gptel-make-gh-copilot "Copilot"))
(map! "M-s RET" #'gptel-send)
(map! "M-s m" #'gptel-menu)
) )
#+end_src #+end_src
*** Rainbow delimiters *** Rainbow delimiters
@@ -318,3 +312,4 @@ Configuration
) )
#+end_src #+end_src

20
init.el
View File

@@ -16,7 +16,7 @@
(doom! :input (doom! :input
;;bidi ; (tfel ot) thgir etirw uoy gnipleh ;;bidi ; (tfel ot) thgir etirw uoy gnipleh
;;chinese ;; (chinese +rime +childframe)
;;japanese ;;japanese
;;layout ; auie,ctsrnm is the superior home row ;;layout ; auie,ctsrnm is the superior home row
:completion :completion
@@ -68,10 +68,10 @@
word-wrap ; soft wrapping with language-aware indent word-wrap ; soft wrapping with language-aware indent
:emacs :emacs
dired ; making dired pretty [functional] ( dired +dirvish +icons) ; making dired pretty [functional]
electric ; smarter, keyword-based electric-indent electric ; smarter, keyword-based electric-indent
;;eww ; the internet is gross ;;eww ; the internet is gross
ibuffer ; interactive buffer management ( ibuffer +icons) ; interactive buffer management
tramp ; remote files at your arthritic fingertips tramp ; remote files at your arthritic fingertips
undo ; persistent, smarter undo for your inevitable mistakes undo ; persistent, smarter undo for your inevitable mistakes
vc ; version-control and Emacs, sitting in a tree vc ; version-control and Emacs, sitting in a tree
@@ -93,19 +93,19 @@
;;collab ; buffers with friends ;;collab ; buffers with friends
;;debugger ; FIXME stepping through code, to help you add bugs ;;debugger ; FIXME stepping through code, to help you add bugs
direnv direnv
docker ( docker +lsp +tree-sitter)
;; editorconfig ; let someone else argue about tabs vs spaces ;; editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs ;;ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls) (eval +overlay) ; run code, run (also, repls)
lookup ; navigate your code and its documentation lookup ; navigate your code and its documentation
;;llm ; when I said you needed friends, I didn't mean... llm ; when I said you needed friends, I didn't mean...
(lsp +eglot +booster) ; M-x vscode (lsp +eglot +booster) ; M-x vscode
magit ; a git porcelain for Emacs magit ; a git porcelain for Emacs
make ; run make tasks from Emacs make ; run make tasks from Emacs
;;pass ; password manager for nerds ;;pass ; password manager for nerds
pdf ; pdf enhancements pdf ; pdf enhancements
;;terraform ; infrastructure as code ;;terraform ; infrastructure as code
tmux ; an API for interacting with tmux ;; tmux ; an API for interacting with tmux
tree-sitter ; syntax and parsing, sitting in a tree... tree-sitter ; syntax and parsing, sitting in a tree...
upload ; map local to remote projects via ssh/ftp upload ; map local to remote projects via ssh/ftp
@@ -156,7 +156,7 @@
;;nim ; python + lisp at the speed of c ;;nim ; python + lisp at the speed of c
;;nix ; I hereby declare "nix geht mehr!" ;;nix ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel ;;ocaml ; an objective camel
( org +pretty +roam +dragndrop) ; organize your plain life in plain text ( org +pretty +roam +dragndrop +pandoc +gnuplot) ; organize your plain life in plain text
;;php ; perl's insecure younger brother ;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more ;;plantuml ; diagrams for confusing people more
;; graphviz ; diagrams for confusing yourself even more ;; graphviz ; diagrams for confusing yourself even more
@@ -178,7 +178,7 @@
;;terra ; Earth and Moon in alignment for performance. ;;terra ; Earth and Moon in alignment for performance.
;;web ; the tubes ;;web ; the tubes
( yaml +lsp +tree-sitter) ; JSON, but readable ( yaml +lsp +tree-sitter) ; JSON, but readable
;;zig ; C, but simpler ( zig +lsp +tree-sitter) ; C, but simpler
:email :email
;;(mu4e +org +gmail) ;;(mu4e +org +gmail)
@@ -188,9 +188,9 @@
:app :app
;;calendar ;;calendar
;;emms ;;emms
;;everywhere ; *leave* Emacs!? You must be joking everywhere ; *leave* Emacs!? You must be joking
;;irc ; how neckbeards socialize ;;irc ; how neckbeards socialize
;;(rss +org) ; emacs as an RSS reader (rss +org +youtube) ; emacs as an RSS reader
:config :config
literate literate

View File

@@ -6,8 +6,6 @@
(package! nano-modeline) (package! nano-modeline)
(package! gptel :recipe (:nonrecursive t))
(package! rainbow-delimiters) (package! rainbow-delimiters)
(package! typst-ts-mode :recipe (:host codeberg :repo "meow_king/typst-ts-mode")) (package! typst-ts-mode :recipe (:host codeberg :repo "meow_king/typst-ts-mode"))