clean up ivy loading
This commit is contained in:
@@ -54,23 +54,23 @@
|
||||
;; (setq search-default-mode #'char-fold-to-regexp)
|
||||
)
|
||||
|
||||
(use-package all-the-icons-ivy-rich
|
||||
;; https://github.com/seagle0128/all-the-icons-ivy-rich
|
||||
:defer
|
||||
:if (display-graphic-p)
|
||||
:commands (all-the-icons-ivy-rich-mode))
|
||||
|
||||
(use-package ivy-rich
|
||||
:defer 0.1
|
||||
:init (require 'ivy-rich-autoloads)
|
||||
:config
|
||||
(setcdr (assq t ivy-format-functions-alist) #'ivy-format-function-line)
|
||||
(require 'all-the-icons-ivy-rich) ;; as suggested load `all-the-icons-ivy-rich-mode' before `ivy-rich-mode'
|
||||
;; For better performance, enable all-the-icons-ivy-rich-mode before ivy-rich-mode.
|
||||
(when (display-graphic-p)
|
||||
(all-the-icons-ivy-rich-mode 1))
|
||||
(ivy-rich-mode 1))
|
||||
|
||||
(use-package all-the-icons-ivy-rich
|
||||
:defer ;; to be able to load it after `ivy-rich'
|
||||
:if (display-graphic-p)
|
||||
:config
|
||||
;; defines also nice display-transformers
|
||||
(all-the-icons-ivy-rich-mode 1))
|
||||
|
||||
(use-package swiper
|
||||
:commands (swiper)
|
||||
:init (require 'swiper-autoloads))
|
||||
|
||||
(use-package counsel
|
||||
@@ -84,6 +84,7 @@
|
||||
("C-x C-r" . counsel-buffer-or-recentf)
|
||||
("C-h f" . counsel-describe-function)
|
||||
("C-h v" . counsel-describe-variable)
|
||||
("C-h o" . counsel-describe-symbol)
|
||||
("C-h l" . counsel-find-library)
|
||||
;; ("<f2> i" . counsel-info-lookup-symbol) ;; info-lookup-symbol see helpful-symbol
|
||||
("<f2> u" . counsel-unicode-char)
|
||||
|
||||
Reference in New Issue
Block a user