add ivy-rich

This commit is contained in:
2022-01-07 00:11:34 +01:00
parent f852fcb854
commit f1ea9d2046
4 changed files with 716 additions and 4 deletions

View File

@@ -43,7 +43,7 @@
("C-c v" . ivy-push-view)
("C-c V" . ivy-pop-view))
:config
(ivy-mode 1)
(ivy-mode 1) ;; also with `ivy-rich-mode' (see below). `ivy-mode' still active for views not defined by `ivy-rich-mode'.
(setq ivy-use-virtual-buffers t) ;; Add recent files and bookmarks to the ivy-switch-buffer
(setq ivy-count-format "%d/%d ") ;; Displays the current and total number in the collection in the prompt
(setq enable-recursive-minibuffers t)
@@ -53,6 +53,12 @@
;; (setq search-default-mode #'char-fold-to-regexp)
)
(use-package ivy-rich
:after (ivy counsel)
:config
(setcdr (assq t ivy-format-functions-alist) #'ivy-format-function-line)
(ivy-rich-mode 1))
(use-package swiper
:after ivy)

View File

@@ -96,6 +96,7 @@ process."
(my-python-shell-send-buffer-w-main))))
)
;; needs system package python-jedi
(use-package anaconda-mode ;; works with company-mode via company-anaconda
:load-path (lambda() (concat config-dir "lisp/anaconda-mode"))
:after python