config/default: fix missing +ivy-do-action! error when ivy module is disabled

This commit is contained in:
Henrik Lissner 2018-05-25 11:54:49 +02:00
parent e99d5c6624
commit 81d3fe4a82
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -393,11 +393,12 @@
[escape] #'company-search-abort)) [escape] #'company-search-abort))
;; counsel ;; counsel
(:after counsel (:when (featurep! :completion ivy)
(:map counsel-ag-map (:after counsel
[backtab] #'+ivy/wgrep-occur ; search/replace on results (:map counsel-ag-map
"C-SPC" #'ivy-call-and-recenter ; preview [backtab] #'+ivy/wgrep-occur ; search/replace on results
"M-RET" (+ivy-do-action! #'+ivy-git-grep-other-window-action))) "C-SPC" #'ivy-call-and-recenter ; preview
"M-RET" (+ivy-do-action! #'+ivy-git-grep-other-window-action))))
;; easymotion ;; easymotion
:m "gs" #'+default/easymotion ; lazy-load `evil-easymotion' :m "gs" #'+default/easymotion ; lazy-load `evil-easymotion'