Config: add TUI support: split GUI/terminal config, add init-terminal-{package,ui,kbd}

This commit is contained in:
User
2026-04-29 15:59:57 +08:00
parent ea9e3da60b
commit 7e8a801be2
6 changed files with 283 additions and 20 deletions

View File

@@ -47,8 +47,9 @@
(global-auto-revert-mode 1)
;; 开启recent file mode
(recentf-mode)
(setq recentf-max-saved-items 30) ;; 最大保存数量
(when (display-graphic-p)
(recentf-mode)
(setq recentf-max-saved-items 30)) ;; 最大保存数量
;; 启用select delete
(delete-selection-mode)