Implement helm project search functionality #644

Adds +helm/project-search, as well as +helm/ag and +helm/ag-from-cwd,
and variants for rg, pt and grep/git-grep, to mirror the functionality
available to :completion ivy.

Also updates the evil ex commands and keybinds
This commit is contained in:
Henrik Lissner 2018-06-02 20:32:52 +02:00
parent b72764c6ea
commit 6e6dfc2215
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 247 additions and 53 deletions

View file

@ -167,6 +167,15 @@ the command buffer."
(advice-add #'helpful--navigate :override #'+popup*helpful--navigate))
;; `helm-ag'
(after! helm-ag
(defun +helm*pop-to-buffer (orig-fn &rest args)
(pop-to-buffer
(save-window-excursion (apply orig-fn args)
(current-buffer))))
(advice-add #'helm-ag--edit :around #'+helm*pop-to-buffer))
;; `Info'
(defun +popup*switch-to-info-window (&rest _)
(when-let* ((win (get-buffer-window "*info*")))