Fix ivy+wgrep integration

This commit is contained in:
Henrik Lissner 2016-09-16 00:00:22 +02:00
parent 52c599788a
commit 8ea00421b0
3 changed files with 9 additions and 2 deletions

View file

@ -125,5 +125,12 @@ interferes with my custom :ag ex command `doom:ivy-ag-search'."
(counsel--async-command ag-cmd))
nil)))
;;;###autoload
(defun doom/counsel-ag-occur ()
"Invoke the search+replace wgrep buffer on the current ag search results."
(interactive)
(require 'wgrep)
(call-interactively 'ivy-occur))
(provide 'defuns-ivy)
;;; defuns-ivy.el ends here