refactor: restructure Emacs config and add org journal features

- Add .gitignore for config management
- Fix early-init compatibility for tool-bar-mode
- Add org-journal, org-super-agenda, and org-ql support
- Improve consult with cross-platform file search
- Add embark-export keybinding
This commit is contained in:
User
2026-03-26 00:15:24 +08:00
parent 0f4ddc392c
commit d7d81d8fbf
6 changed files with 175 additions and 137 deletions

View File

@@ -1,9 +1,10 @@
(setq package-enable-at-startup nil)
(setq inhibit-startup-screen t) ; 禁用开始菜单
(tool-bar-mode -1) ; 禁用工具栏
(when (fboundp 'tool-bar-mode)
(tool-bar-mode -1) ; 禁用工具栏
(scroll-bar-mode -1)) ; 禁用滚动条
(menu-bar-mode -1) ; 禁用菜单栏
(scroll-bar-mode -1) ; 禁用滚动条
(setq display-line-numbers-type '2)
(global-display-line-numbers-mode t) ; 启用行号
(setq display-line-numbers-grow-only t) ; 行号栏只增不减