chore(config): Refactor Emacs config for cross-platform compatibility

Add Android/Termux support with `*is-android*` constant and
conditional GUI/terminal initialization. Remove maximized frame
defaults and custom.el. Replace corfu with corfu-terminal in
TTY. Add god-mode to terminal config with line number sync. Update
org agenda to use org-ql blocks with super-agenda grouping. Switch
solarized-theme to fork. Clean up redundant functions and unify
keyboard bindings across environments.
This commit is contained in:
User
2026-05-18 20:46:26 +08:00
parent 3469cf8472
commit e2a352709c
20 changed files with 163 additions and 127 deletions

View File

@@ -15,11 +15,6 @@
(setq display-line-numbers-grow-only t) ; 行号栏只增不减
(setq display-line-numbers-width-start 4) ; 预设4位宽度
;; 启动时初始窗口最大化
(add-to-list 'initial-frame-alist '(fullscreen . maximized))
;; 之后新建的窗口也默认最大化
(add-to-list 'default-frame-alist '(fullscreen . maximized))
(setq frame-background-mode 'dark)
(setq package-enable-at-startup nil)