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))
;; counsel
(:when (featurep! :completion ivy)
(:after counsel
(:map counsel-ag-map
[backtab] #'+ivy/wgrep-occur ; search/replace on results
"C-SPC" #'ivy-call-and-recenter ; preview
"M-RET" (+ivy-do-action! #'+ivy-git-grep-other-window-action)))
"M-RET" (+ivy-do-action! #'+ivy-git-grep-other-window-action))))
;; easymotion
:m "gs" #'+default/easymotion ; lazy-load `evil-easymotion'