Files
.emacs.d/early-init.el
andsy10 ccd5c085f8 refactor(config): Clean up and reorganize Emacs configuration
Remove unused packages (EMMS, jinx, god-mode), simplify terminal
setup with ido instead of vertico/orderless, and reorganize
keybindings. Add new packages (debase, discomfort, git-timemachine,
edit-indirect) and improve EXWM, dired, and theme
configurations. Move restart-fcitx5 to kbd-func and update Linux
PATH for Guix.
2026-05-30 23:02:29 +08:00

21 lines
567 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)
;;; early-init.el ends here