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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user