[Misc] Use custom function to format ivy candidates

This commit is contained in:
Daniel - 2018-07-19 13:53:51 +02:00
parent de252023f7
commit e200d112c4
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 8 additions and 1 deletions

View File

@ -944,7 +944,14 @@ are assumed to be of the form *.crt."
enable-recursive-minibuffers t
ivy-magic-tilde nil
ivy-count-format "(%d/%d) "
ivy-format-function 'ivy-format-function-arrow)
ivy-format-function #'(lambda (cands)
(ivy--format-function-generic
(lambda (str)
(concat "" str))
(lambda (str)
(concat " " str))
cands
"\n")))
(setq ivy-initial-inputs-alist '((counsel-describe-function . "^")
(counsel-describe-variable . "^")
(man . "^")