mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
Match up faces better with ivy, projectile now uses vertico
This commit is contained in:
parent
a3199ab461
commit
31ce1b9305
2 changed files with 12 additions and 4 deletions
|
|
@ -77,7 +77,10 @@
|
|||
|
||||
(use-package embark)
|
||||
(define-key *root-map* (kbd "C-o") #'embark-act)
|
||||
(define-key embark-buffer-map (kbd "e") #'embark-export))
|
||||
(define-key embark-buffer-map (kbd "e") #'embark-export)
|
||||
(set-face-attribute 'vertico-current nil :background "gray30")
|
||||
;; (set-face-attribute 'vertico-current nil :foreground "black" :background "#65a7e2")
|
||||
(set-face-attribute 'completions-common-part nil :background "#555555"))
|
||||
|
||||
;; Optionally use the `orderless' completion style. See
|
||||
;; `+orderless-dispatch' in the Consult wiki for an advanced Orderless style
|
||||
|
|
@ -92,7 +95,12 @@
|
|||
;; orderless-component-separator #'orderless-escapable-split-on-space)
|
||||
(setq completion-styles '(orderless)
|
||||
completion-category-defaults nil
|
||||
completion-category-overrides '((file (styles partial-completion)))))
|
||||
completion-category-overrides '((file (styles partial-completion))))
|
||||
:config
|
||||
(set-face-attribute 'orderless-match-face-0 nil :background "#777777")
|
||||
(set-face-attribute 'orderless-match-face-1 nil :background "#777777")
|
||||
(set-face-attribute 'orderless-match-face-2 nil :background "#777777")
|
||||
(set-face-attribute 'orderless-match-face-3 nil :background "#777777"))
|
||||
|
||||
;; Persist history over Emacs restarts. Vertico sorts by history position.
|
||||
(use-package savehist
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@
|
|||
:init (progn
|
||||
(setq projectile-enable-caching t)
|
||||
(setq projectile-git-submodule-command nil)
|
||||
(setq projectile-completion-system 'ivy)
|
||||
(setq projectile-completion-system 'default)
|
||||
|
||||
;; (setq counsel-projectile-switch-project-action 'projectile-vc)
|
||||
(setq projectile-switch-project-action 'projectile-dired)
|
||||
|
|
|
|||
Loading…
Reference in a new issue