Config: Strip down and simplify Emacs config

- Remove consult-dir, nerd-icons-completion, org-contrib and some other unused package
- Delete init-org-refile.el and related keybindings
- Prune EMMS config
- Remove EXWM flatpak launcher helpers (vscodium, localsend, steam)
- Extract Windows dirvish video preview fix to standalone module
- Drop built-in settings moved elsewhere (startup defaults, whitespace, etc.)
- Clean up trailing whitespace / process list prettify configs
This commit is contained in:
2026-05-04 12:01:25 +08:00
parent 1a941344bf
commit 2162b34007
15 changed files with 102 additions and 391 deletions

View File

@@ -10,7 +10,6 @@
(add-hook 'org-mode-hook
(lambda ()
(require 'org-tempo)
(require 'init-org-refile)
(org-indent-mode)
(visual-line-mode)
(setq-local electric-pair-inhibit-predicate
@@ -43,7 +42,7 @@
;; 设置todo关键字
(setq org-todo-keywords
(quote ((sequence "TODO(t)" "STARTED(s)" "|" "DONE(d!/!)")
(sequence "WAITING(w@/!)" "SOMEDAY(S)" "|" "CANCELLED(c@/!)" "MEETING(m)" "PHONE(p)"))))
(sequence "WAITING(w@/!)" "SOMEDAY(S)" "|" "CANCELLED(c@/!)"))))
;; agenda相关
(with-eval-after-load 'recentf
@@ -84,15 +83,6 @@
'org-babel-load-languages
org-babel-load-languages))
;; org-contrib 和 org-checklist
(use-package org-contrib
:straight (org-contrib :type git :host github :repo "emacsmirror/org-contrib"
:depth 1)
:config
(add-hook 'org-mode-hook
(lambda ()
(require 'org-checklist nil t))))
;; org-download
(use-package org-download
:config
@@ -218,7 +208,7 @@
:config
(org-super-agenda-mode))
;; 自定义已完成任务视图
;; 自定义agenda视图
(setq org-agenda-custom-commands
'(("pa" "Priority >= A"
((tags-todo "+PRIORITY=\"A\"")))