Emacs: Make ivy work properly again.

This commit is contained in:
tastytea 2020-05-26 07:06:22 +02:00
parent 4bb50bf5cd
commit 710403de07
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-05-25T13:37:30+0200>
;; Time-stamp: <2020-05-26T06:39:54+0200>
;;; Commentary:
;; * treemacs
@ -58,23 +58,27 @@
;; Extensions for ivy
(use-package counsel
:demand t
:after (ivy)
:bind (("C-x C-f" . counsel-find-file)
("M-x" . counsel-M-x)))
;; Use icons in ivy.
(use-package all-the-icons-ivy
:demand t
:after (all-the-icons counsel)
:config (all-the-icons-ivy-setup))
;; More information in ivy mini-buffers.
(use-package ivy-rich
:demand t
;; all-the-icons-ivy would override the ivy-rich switch-buffer improvements.
:after (all-the-icons-ivy counsel)
:config (ivy-rich-mode 1))
;; Use icons in ivy-rich.
(use-package all-the-icons-ivy-rich
:demand t
:after (all-the-icons ivy-rich)
:config (all-the-icons-ivy-rich-mode 1))
@ -89,6 +93,7 @@
:bind ("C-c e" . ivy-emoji))
(use-package counsel-projectile
:demand t
:after (projectile)
:custom ((counsel-projectile-mode t)
(projectile-switch-project-action 'my/switch-project))