From e1c915d261f2e3da81ee1c112d8a47a5295dec5b Mon Sep 17 00:00:00 2001 From: KJ Date: Fri, 23 Jun 2023 05:34:43 -0400 Subject: [PATCH] Change all-the-icons to nerd-icons. --- configs/init-minibuffer.el | 14 +++++++++----- configs/init-packages.el | 16 ++++++++-------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/configs/init-minibuffer.el b/configs/init-minibuffer.el index 5f044cc..000c18b 100644 --- a/configs/init-minibuffer.el +++ b/configs/init-minibuffer.el @@ -122,14 +122,18 @@ ;; For better performance (setq ivy-rich-parse-remote-buffer nil)) -;; Iconos en Ivy usando all-the-icons -(use-package all-the-icons-ivy-rich +;; nerd-icons en ivy +(use-package nerd-icons-ivy-rich :defer t :straight t :ensure t - :hook (ivy-mode . all-the-icons-ivy-rich-mode) - :config - (setq all-the-icons-ivy-rich-color-icon t)) + :hook (after-init . nerd-icons-ivy-rich-mode)) + +;; nerd-icons en ibuffer +(use-package nerd-icons-ibuffer + :straight t + :defer t + :hook (ibuffer-mode . nerd-icons-ibuffer-mode)) ;; Ordenar los comandos usados en M-x (por uso y luego alfabéticamente) (use-package smex diff --git a/configs/init-packages.el b/configs/init-packages.el index 4cc43db..509eb74 100644 --- a/configs/init-packages.el +++ b/configs/init-packages.el @@ -14,18 +14,18 @@ ;;; Code: -;; Iconos bonitos -(use-package all-the-icons - :defer t +;; Iconos bonitos para varias cosas +(use-package nerd-icons :straight t - :config - (setq all-the-icons-dired-monochrome nil)) + :defer t) -;; Usar all-the-icons en dired -(use-package all-the-icons-dired +;; Usar nerd-icons en dired +(use-package nerd-icons-dired :straight t :defer t - :hook (dired-mode . all-the-icons-dired-mode)) + :hook (dired-mode . nerd-icons-dired-mode) + :config + (setq dired-sidebar-theme 'nerd)) ;; Intercamiar buffers de lugar (use-package buffer-move