summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-08-30 12:22:53 +0100
committerAlan Pearce2014-08-30 12:22:53 +0100
commit75ff4072d69f2a331d065d0f15770b8632cc42db (patch)
treece1bb6367569536ed7db5050a6381e663f51988d /tag-emacs
parent3764370f77fa32c2c9c793331ef35ac9d913b4d7 (diff)
downloadnixfiles-75ff4072d69f2a331d065d0f15770b8632cc42db.tar.lz
nixfiles-75ff4072d69f2a331d065d0f15770b8632cc42db.tar.zst
nixfiles-75ff4072d69f2a331d065d0f15770b8632cc42db.zip
Emacs: Install and configure helm-swoop
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el7
2 files changed, 8 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index 92c010ae..f8ed11fb 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -40,6 +40,7 @@
 (depends-on "helm")
 (depends-on "helm-dash")
 (depends-on "helm-projectile")
+(depends-on "helm-swoop")
 (depends-on "help-fns+")
 (depends-on "hemisu-theme")
 (depends-on "jinja2-mode")
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 3f8d75ec..e7d63545 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1043,6 +1043,13 @@ mouse-1: Display Line and Column Mode Menu"))))))
 (req-package goto-chg
   :bind ("C-x SPC" . goto-last-change))
 
+(req-package helm-swoop
+  :bind (("C-=" . helm-swoop)
+         ("C-c C-=" . helm-multi-swoop))
+  :init (progn
+          (bind-key "C-=" #'helm-swoop isearch-mode-map)
+          (bind-key "C-=" #'helm-multi-swoop-all-from-helm-swoop)))
+
 (req-package multiple-cursors
   :config (progn
             (bind-key "C-." #'mc/mark-next-like-this)