Commit e00812bb authored by Kisaragi Hiu's avatar Kisaragi Hiu

give up on trying to support evil without pulling it in as dependency

parent 33befffc
......@@ -76,14 +76,5 @@ in this order; a prompt will always be used if a prefix argument is given."
(format (cdr (assq engine yasearch-engine-alist))
(url-hexify-string query))))
(when (featurep 'evil-macros)
(with-eval-after-load 'evil-macros
(evil-define-operator yasearch-evil (beg end type)
"Search characters in evil motion on the web with `yasearch'."
:move-point nil
:repeat nil
(yasearch (yasearch--ask-engine)
(buffer-substring-no-properties beg end)))))
(provide 'yasearch)
;;; yasearch.el ends here
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment