<div dir="ltr">Hi all,<div>I recently started experimenting with Helm and various Helm-based plugins. One that I like quite a bit is helm-swoop [1], which can be thought of as a combination of isearch and occur. I'm particularly intrigued by the possibility to drop into helm-swoop from isearch [2]; this has proven quite useful for me. However, this functionality doesn't work when I invoke search using "/", i.e. evil-search-forward. My buffer ends up in a recursive edit state, and the search string doesn't get sent to helm-swoop function. </div>
<div><br></div><div>Might someone here be familiar with helm-swoop and knows how to make it work with evil, or at least have suggestions about how to best debug? If not, is it possible to just remap "/" to isearch (I still don't have a clear understanding of how evil-search-forward with isearch as a search module is different from invoking isearch via C-s)?</div>
<div><br></div><div>Thanks</div><div>--Leo</div><div><br></div><div>[1] <a href="https://github.com/ShingoFukuyama/helm-swoop">https://github.com/ShingoFukuyama/helm-swoop</a></div><div>[2] here is the elisp from helm-swoop.el which enables this functionality:</div>
<div>--------</div><div><div>(defun helm-swoop-from-isearch ()</div><div> "Invoke `helm-swoop' from isearch."</div><div> (interactive)</div><div> (let (($query (if isearch-regexp</div><div> isearch-string</div>
<div> (regexp-quote isearch-string))))</div><div> (helm-swoop :$query $query)))</div><div>;; When doing isearch, hand the word over to helm-swoop</div><div>(define-key isearch-mode-map (kbd "M-i") 'helm-swoop-from-isearch)</div>
</div><div><br></div></div>