Extract ivy config into core-ivy.el
This commit is contained in:
parent
d21b82d89b
commit
c28bb1519d
|
@ -278,8 +278,7 @@
|
|||
(use-package smex
|
||||
:commands (smex smex-major-mode-commands)
|
||||
:config
|
||||
(setq smex-completion-method 'ivy
|
||||
smex-save-file (concat doom-temp-dir "/smex-items"))
|
||||
(setq smex-save-file (concat doom-temp-dir "/smex-items"))
|
||||
(smex-initialize))
|
||||
|
||||
(use-package swiper :commands (swiper swiper-all))
|
||||
|
|
|
@ -9,9 +9,6 @@
|
|||
ivy-wrap t)
|
||||
|
||||
:config
|
||||
(after! magit
|
||||
(setq magit-completing-read-function 'ivy-completing-read))
|
||||
|
||||
(ivy-mode +1)
|
||||
(map! :map ivy-minibuffer-map
|
||||
[escape] 'keyboard-escape-quit
|
||||
|
@ -24,6 +21,10 @@
|
|||
;; Fix display glitches
|
||||
(advice-add 'ivy-done :after 'redraw-display)
|
||||
|
||||
(after! magit (setq magit-completing-read-function 'ivy-completing-read))
|
||||
(after! smex (setq smex-completion-method 'ivy))
|
||||
(after! yasnippet (push 'doom/yas-ivy-prompt yas-prompt-functions))
|
||||
|
||||
;;
|
||||
(require 'counsel)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
(setq yas-verbosity 0
|
||||
yas-indent-line 'auto
|
||||
yas-also-auto-indent-first-line t
|
||||
yas-prompt-functions '(doom/yas-ivy-prompt yas-ido-prompt yas-no-prompt)
|
||||
yas-prompt-functions '(yas-ido-prompt yas-no-prompt)
|
||||
;; Only load personal snippets
|
||||
yas-snippet-dirs (list (concat doom-private-dir "/snippets")
|
||||
(concat doom-private-dir "/templates")))
|
||||
|
|
Loading…
Reference in New Issue
Block a user