From 6750387219e9c97b1fd751e10dbf791ac70c25f8 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Mon, 19 Feb 2018 10:04:29 -0500 Subject: [PATCH] Revert "[emacs] Go back to swiper-helm, as helm-swoop is broken" This reverts commit 79a35d3c30cd7c0e1d74537c6fc5ccfbade0c066. --- .emacs.d/emacs.org | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.emacs.d/emacs.org b/.emacs.d/emacs.org index 42a6a47..e9ca531 100644 --- a/.emacs.d/emacs.org +++ b/.emacs.d/emacs.org @@ -119,9 +119,9 @@ Helm search plugin for [[Ag%20(The%20Silver%20Searcher)][Ag (The Silver Searcher :init (eval-after-load 'flyspell '(define-key flyspell-mode-map (kbd "C-;") 'helm-flyspell-correct))) #+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 Quite usefully, using prefix arguments expands the lines of context @@ -130,10 +130,19 @@ shown around the search results. #+name: packages #+BEGIN_SRC emacs-lisp - (use-package swiper-helm + (use-package helm-swoop :ensure t - :commands (swiper-helm) - :bind (("C-s" . swiper-helm))) + :commands (helm-swoop) + :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 ** Undo-Tree