style(config): Reformat Emacs Lisp code for consistency

Standardize formatting across multiple init files: expand
single-line use-package keywords onto separate lines, fix
indentation, remove outdated comments, and clean up whitespace. Also
adds mc/keymap <return> binding and improves fcitx5 startup logic in
EXWM.
This commit is contained in:
2026-05-11 03:40:06 +08:00
parent 71a57a6922
commit aa4dea523e
11 changed files with 89 additions and 67 deletions

View File

@@ -68,17 +68,10 @@
;; (use-package color-theme-modern)
(use-package naysayer-theme)
;; (use-package simple-modeline
;; :init (simple-modeline-mode)
;; :config
;; ;; (defun simple-modeline-segment-buffer-name ()
;; ;; "Displays the full path of current file in the mode-line."
;; ;; (propertize " %f" 'face 'mode-line-buffer-id))
;; )
;; eshell高亮
(use-package eshell-syntax-highlighting
:hook (eshell-mode . eshell-syntax-highlighting-global-mode))
:hook
(eshell-mode . eshell-syntax-highlighting-global-mode))
(add-hook 'eshell-mode-hook
(lambda ()
@@ -90,6 +83,7 @@
"di=34:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46")
(setenv "GIT_CONFIG_GLOBAL" (expand-file-name "~/.emacs.d/.gitconfig-eshell"))))
;; 缩进线
(use-package indent-bars
:custom
(indent-bars-color '(font-lock-comment-face :face-bg nil :blend 0.4))