Fix: ivy and projectile mode do not starting after init.

This commit is contained in:
KJ 2023-09-16 15:36:26 -04:00
parent 503bf53890
commit 637f04ae26
2 changed files with 4 additions and 5 deletions

View File

@ -54,8 +54,7 @@
("M-%" . swiper-query-replace)
)
:hook ((after-init . ivy-mode)
(ivy-mode . counsel-mode))
:hook ((ivy-mode . counsel-mode))
:init
(setq enable-recursive-minibuffers t) ; Allow commands in minibuffers
@ -106,7 +105,7 @@
;; Autocompletado, sugerencias y menú de búsqueda mejorados (este paquete incluye counsel y swiper)
(use-package ivy
:defer t
:hook (after-init . ivy-mode)
:hook (elpaca-after-init . ivy-mode)
:config
(setq ivy-use-virtual-buffers nil))
@ -128,7 +127,7 @@
(use-package nerd-icons-ivy-rich
:defer t
:ensure t
:hook (after-init . nerd-icons-ivy-rich-mode))
:hook (ivy-mode . nerd-icons-ivy-rich-mode))
;; nerd-icons en ibuffer
(use-package nerd-icons-ibuffer

View File

@ -193,7 +193,7 @@
(use-package projectile
:defer t
:bind ("C-c p" . projectile-command-map)
:diminish projectile-mode
:hook (elpaca-after-init . projectile-mode)
:custom ((projectile-completion-system 'ivy))
:init
(setq projectile-mode-line-prefix ""