Commit 100c94e8d7c7

Vincent Demeester <vincent@sbr.pm>
2018-09-07 18:55:02
Add swiper…
… and use helpful for counsel-describe functions Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 41ee242
Changed files (2)
lisp/vde-ivy.el
@@ -67,6 +67,9 @@
     (bind-to-vde-map "s" #'counsel-rg))
   :config
   (progn
+    (setq
+     counsel-describe-function-function 'helpful-function
+     counsel-describe-variable-function 'helpful-variable)
     ;; counsel-find-file
     (setq counsel-find-file-at-point t)
     (setq counsel-find-file-ignore-regexp
lisp/vde-search.el
@@ -8,6 +8,13 @@
 ;; Truncate lines during grep
 (add-hook 'grep-mode-hook #'toggle-truncate-lines)
 
+(use-package swiper
+  :after ivy
+  :bind
+  ([remap isearch-forward] . swiper)
+  ([remap isearch-backward] . swiper)
+  ("C-c s s" . swiper-all))
+
 (use-package wgrep                      ; Editable grep buffer
   :defer 2
   :config)