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.
23 lines
605 B
EmacsLisp
23 lines
605 B
EmacsLisp
;;; early-init.el --- early-init.el -*- lexical-binding: t -*-
|
|
|
|
;;; Commentary:
|
|
|
|
;;; Code:
|
|
|
|
(setq package-enable-at-startup nil)
|
|
|
|
(setq inhibit-startup-screen t) ; 禁用开始菜单
|
|
(when (fboundp 'tool-bar-mode)
|
|
(tool-bar-mode -1) ; 禁用工具栏
|
|
(scroll-bar-mode -1)) ; 禁用滚动条
|
|
(menu-bar-mode -1) ; 禁用菜单栏
|
|
(setq display-line-numbers-type '2)
|
|
(setq display-line-numbers-grow-only t) ; 行号栏只增不减
|
|
(setq display-line-numbers-width-start 4) ; 预设4位宽度
|
|
|
|
(setq frame-background-mode 'dark)
|
|
|
|
(setq package-enable-at-startup nil)
|
|
|
|
;;; early-init.el ends here
|