Config: optimize completion config and custom theme color

This commit is contained in:
User
2026-04-02 06:30:29 +08:00
parent be6c0eb5e1
commit ac82a344c9
4 changed files with 9 additions and 7 deletions

View File

@@ -13,9 +13,6 @@
;; corfu ;; corfu
(use-package corfu (use-package corfu
:custom
(corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
:init :init
(global-corfu-mode) (global-corfu-mode)
(corfu-history-mode) (corfu-history-mode)
@@ -23,8 +20,12 @@
(corfu-echo-mode) (corfu-echo-mode)
:custom :custom
(corfu-popupinfo-delay 0.5)
(corfu-auto t) (corfu-auto t)
(corfu-cycle t)
(corfu-auto-delay 0.1)
(corfu-popupinfo-delay 0.2)
(corfu-preview-current nil)
(corfu-auto-prefix 2)
:bind :bind
(:map corfu-map (:map corfu-map

View File

@@ -44,7 +44,7 @@
;; 安装solarized dark ;; 安装solarized dark
(use-package solarized-theme) (use-package solarized-theme)
(load-theme 'my-base16-dark) (load-theme 'my-base16-dark t)
;; 很多主题 ;; 很多主题
(use-package doom-themes) (use-package doom-themes)

View File

@@ -24,7 +24,8 @@
`(org-level-8 ((,class (:foreground ,green)))) `(org-level-8 ((,class (:foreground ,green))))
`(org-priority ((,class (:foreground ,blue :weight bold)))) `(org-priority ((,class (:foreground ,blue :weight bold))))
`(org-done ((,class (:foreground ,blue :weight bold)))) `(org-done ((,class (:foreground ,blue :weight bold))))
`(org-headline-done ((,class (:foreground ,blue))))))) `(org-headline-done ((,class (:foreground ,blue))))
`(vertico-current ((,class (:background ,base02 :extend t :underline nil)))))))
(provide-theme 'my-base16-dark) (provide-theme 'my-base16-dark)

View File

@@ -10,7 +10,7 @@
"#E3FCFB" ; brightest-base: 最亮前景 "#E3FCFB" ; brightest-base: 最亮前景
"#A87C04" ; yellow: 黄色 "#A87C04" ; yellow: 黄色
"#C24713" ; orange: 橙色 "#C24713" ; orange: 橙色
"#BF2926" ; red: 红色 "#CE2825" ; red: 红色
"#d33682" ; magenta: 品红 "#d33682" ; magenta: 品红
"#6c71c4" ; violet: 紫罗兰 "#6c71c4" ; violet: 紫罗兰
"#2570CD" ; blue: 蓝色 "#2570CD" ; blue: 蓝色