From 828e16c7daf5c1f6a8ca31e6d8b946516484ddf4 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 7 Aug 2019 00:06:35 +0200 Subject: [PATCH] More icons for ivy. --- init.el | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index f33bb7b..8e480f3 100644 --- a/init.el +++ b/init.el @@ -586,10 +586,17 @@ With argument, do this that many times." ("M-x" . 'counsel-M-x) ) -;; Nicer interface for ivy -(use-package ivy-rich +;; Use icons in ivy. +(use-package all-the-icons-ivy :after (all-the-icons counsel) :config + (all-the-icons-ivy-setup) + ) + +;; Nicer interface for ivy. +(use-package ivy-rich + :after (all-the-icons-ivy counsel) + :config ;; Icons in switch-buffer. (defun my/ivy-rich-switch-buffer-icon (candidate) (with-current-buffer @@ -598,6 +605,8 @@ With argument, do this that many times." (if (symbolp icon) (all-the-icons-icon-for-mode 'fundamental-mode) icon)))) + + ;; More detailed buffer view. (setq ivy-rich-display-transformers-list '(ivy-switch-buffer (:columns