Revert "[emacs] Go back to swiper-helm, as helm-swoop is broken"

This reverts commit 79a35d3c30.
This commit is contained in:
Correl Roush 2018-02-19 10:04:29 -05:00
parent bdae1b76c9
commit 6750387219

View file

@ -119,9 +119,9 @@ Helm search plugin for [[Ag%20(The%20Silver%20Searcher)][Ag (The Silver Searcher
:init (eval-after-load 'flyspell :init (eval-after-load 'flyspell
'(define-key flyspell-mode-map (kbd "C-;") 'helm-flyspell-correct))) '(define-key flyspell-mode-map (kbd "C-;") 'helm-flyspell-correct)))
#+end_src #+end_src
*** swiper-helm *** helm-swoop
Replace isearch-forward with swiper-helm for a nicer experience. Replace isearch-forward with helm-swoop for a nicer experience.
#+BEGIN_NOTES #+BEGIN_NOTES
Quite usefully, using prefix arguments expands the lines of context Quite usefully, using prefix arguments expands the lines of context
@ -130,10 +130,19 @@ shown around the search results.
#+name: packages #+name: packages
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package swiper-helm (use-package helm-swoop
:ensure t :ensure t
:commands (swiper-helm) :commands (helm-swoop)
:bind (("C-s" . swiper-helm))) :bind (("C-s" . helm-swoop))
:config
;; Defaults to (lambda () (thing-at-point 'symbol)).
;; Setting it to return nil, as I find it tends to be more annoying than useful.
(setq helm-swoop-pre-input-function (lambda () nil))
;; Enable syntax highlighting. It makes it easier for my eyes to
;; parse the results, and doesn't seem to slow things down
;; measurably.
(setq helm-swoop-speed-or-color t)
)
#+END_SRC #+END_SRC
** Undo-Tree ** Undo-Tree