Compare commits

..

2 Commits

Author SHA1 Message Date
Zelong Kuang
4a779a480c Update 2026-04-11 00:00:04 +10:00
Zelong Kuang
7fb855f332 replace moodline with Doom modeline 2026-04-10 23:59:41 +10:00
4 changed files with 16 additions and 38 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

@@ -91,22 +91,22 @@
:hook text-mode
:hook prog-mode)
(use-package mood-line
:hook emacs-startup
:custom (mood-line-glyph-alist mood-line-glyphs-fira-code))
;; (use-package mood-line
;; :hook emacs-startup
;; :custom (mood-line-glyph-alist mood-line-glyphs-fira-code))
;; (use-package doom-modeline
;; :hook (elpaca-after-init . doom-modeline-mode)
;; :config
;; (setq doom-modeline-support-imenu t
;; doom-modeline-icons nil
;; doom-modeline-height 30
;; doom-modeline-buffer-file-name-style 'relative-from-project
;; doom-modeline-enable-word-count t
;; ;; doom-modeline-project-name t
;; doom-modeline-check 'simple
;; doom-modeline-buffer-encoding nil
;; doom-modeline-major-mode-icon nil))
(use-package doom-modeline
:hook (elpaca-after-init . doom-modeline-mode)
:config
(setq doom-modeline-support-imenu t
doom-modeline-icons nil
doom-modeline-height 30
doom-modeline-buffer-file-name-style 'relative-from-project
doom-modeline-enable-word-count t
;; doom-modeline-project-name t
doom-modeline-check 'simple
doom-modeline-buffer-encoding nil
doom-modeline-major-mode-icon nil))
(use-package hide-mode-line
:autoload turn-off-hide-mode-line-mode

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)