chor: clean up some configs and keybindings
This commit is contained in:
@@ -61,16 +61,7 @@
|
||||
;; eshell高亮
|
||||
(use-package eshell-syntax-highlighting
|
||||
:hook
|
||||
(eshell-mode . eshell-syntax-highlighting-global-mode)
|
||||
:config
|
||||
(add-hook 'eshell-mode-hook
|
||||
(lambda ()
|
||||
(setenv "TERM" "xterm-256color")
|
||||
(setenv "COLORTERM" "truecolor")
|
||||
(add-to-list 'eshell-output-filter-functions 'eshell-handle-ansi-color t)
|
||||
(setq-local eshell-prefer-lisp-functions nil)
|
||||
(setenv "LS_COLORS"
|
||||
"di=34:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46"))))
|
||||
(eshell-mode . eshell-syntax-highlighting-global-mode))
|
||||
|
||||
;; 缩进线
|
||||
(use-package indent-bars
|
||||
@@ -103,7 +94,7 @@
|
||||
(propertize (format-time-string "-%p") 'face 'font-lock-comment-face))
|
||||
'help-echo (format-time-string "%A, %B %d, %Y"))))))
|
||||
|
||||
;; 安装cnfonts脚本,用于修复中英文对齐
|
||||
;; 安装cnfonts,修复中英文对齐
|
||||
(use-package cnfonts
|
||||
:hook
|
||||
(after-init . cnfonts-mode)
|
||||
|
||||
Reference in New Issue
Block a user