添加 dirvish 配置和其他调整

- 新增 init-dired.el 基础配置
- 调整 corfu 初始化方式
- 修改 dashboard 显示设置和快捷键
- 更新键位绑定
- 调整 org-journal 格式
- 修复 scratch buffer 模式设置
- 更新主题颜色
This commit is contained in:
trogloxene
2026-04-03 19:01:03 +08:00
parent 64e421da2b
commit 311aefe6f9
8 changed files with 77 additions and 10 deletions

View File

@@ -44,7 +44,7 @@
;; 当文件被外部修改时自动刷新
(global-auto-revert-mode 1)
;; 开启rencent file mode
;; 开启recent file mode
(recentf-mode)
(setq recentf-max-saved-items 30) ;; 最大保存数量
@@ -58,6 +58,12 @@
(setq initial-scratch-message
"")
(defun my/scratch-set-mode (&rest _)
(when (eq major-mode 'fundamental-mode)
(funcall initial-major-mode)))
(advice-add 'scratch-buffer :after #'my/scratch-set-mode)
;; 开启server mode
(server-start)