e00812bb5effcdf497a6b5b14140a3c60d74edf5 — Kisaragi Hiu 1 year, 4 months ago 33befff
give up on trying to support evil without pulling it in as dependency
1 files changed, 0 insertions(+), 9 deletions(-)

M yasearch.el
M yasearch.el => yasearch.el +0 -9
@@ 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