config: update org-mode, UI settings, and add EMMS media player

- Add EMMS music player configuration with mpv support
- Refine org-mode with preload, new capture templates, and agenda setup
- Update keybindings for windows, ibuffer, and org-store-link
- Improve line number display settings
This commit is contained in:
trogloxene
2026-03-21 02:23:35 +08:00
parent 279a050165
commit d6f0dae461
6 changed files with 259 additions and 40 deletions

View File

@@ -1,11 +1,13 @@
(setq package-enable-at-startup nil)
(setq inhibit-startup-screen t) ;; 禁用开始菜单
(tool-bar-mode -1) ;; 禁用工具栏
(menu-bar-mode -1) ;; 禁用菜单栏
(scroll-bar-mode -1) ;; 禁用滚动条
(setq inhibit-startup-screen t) ; 禁用开始菜单
(tool-bar-mode -1) ; 禁用工具栏
(menu-bar-mode -1) ; 禁用菜单栏
(scroll-bar-mode -1) ; 禁用滚动条
(setq display-line-numbers-type '2)
(global-display-line-numbers-mode t) ;; 启用行号
(global-display-line-numbers-mode t) ; 启用行号
(setq display-line-numbers-grow-only t) ; 行号栏只增不减
(setq display-line-numbers-width-start 4) ; 预设4位宽度
;; 启动时初始窗口最大化
(add-to-list 'initial-frame-alist '(fullscreen . maximized))