This commit is contained in:
Zelong Kuang
2026-04-11 00:00:04 +10:00
parent 7fb855f332
commit 4a779a480c
3 changed files with 1 additions and 23 deletions

View File

@@ -54,7 +54,6 @@
(require 'init-org)
(require 'init-tex)
;; (require 'init-markdown)
(require 'init-cc)
(require 'init-python)
(require 'init-haskell)

View File

@@ -5,7 +5,7 @@
:bind (("C-c l s" . gptel-send)
("C-c l m" . gptel-menu))
:config
(setq gptel-model 'gpt-5.2-codex)
(setq gptel-model 'gpt-5.2)
(setq gptel-backend (gptel-make-gh-copilot "Copilot"))
(setq gptel-default-mode #'org-mode)
(setq gptel-display-buffer-action nil) ; if user changes this, popup manager will bow out

View File

@@ -30,19 +30,6 @@
(which-key-add-key-based-replacements "C-x t" "tabs")
(which-key-add-key-based-replacements "C-x v" "version control"))
;; (use-package grep
;; :ensure nil
;; :autoload grep-apply-setting
;; :init
;; (grep-apply-setting
;; 'grep-command "rg --color=auto --null -nH --no-heading -e ")
;; (grep-apply-setting
;; 'grep-template "rg --color=auto --null --no-heading -g '!*/' -e <R> <D>")
;; (grep-apply-setting
;; 'grep-find-command '("rg --color=auto --null -nH --no-heading -e ''" . 38))
;; (grep-apply-setting
;; 'grep-find-template "rg --color=auto --null -nH --no-heading -e <R> <D>"))
;; Writable grep buffer
(use-package wgrep
:init (setq wgrep-auto-save-buffer t
@@ -61,14 +48,6 @@
(rg-enable-default-bindings)
)
;; (use-package sudo-edit
;; :commands sudo-edit sudo-edit-find-file
;; :bind ("C-c C-r" . sudo-edit))
;; (use-package keycast
;; :hook (elpaca-after-init . keycast-mode-line-mode)
;; :config
;; (setq keycast-mode-line-remove-tail-elements nil))
(use-package elcord)