summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2016-11-29 15:30:09 +0100
committerAlan Pearce2016-11-29 15:30:09 +0100
commitab734d2ac9b3f6c89810a882426fef71bfc27ae3 (patch)
treed1c645670f1ba60cf5ebfdb61943c7a3bd814592 /tag-emacs
parentbf772489b2fd233f587d56ad3f66e78d2aa28936 (diff)
downloadnixfiles-ab734d2ac9b3f6c89810a882426fef71bfc27ae3.tar.lz
nixfiles-ab734d2ac9b3f6c89810a882426fef71bfc27ae3.tar.zst
nixfiles-ab734d2ac9b3f6c89810a882426fef71bfc27ae3.zip
Emacs: Configure ripgrep
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org13
1 files changed, 13 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 3b97d22c..b25f7d2c 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -346,6 +346,19 @@ configuration with crux.el
   :config (setq ag-project-root-function #'projectile-project-root))
 #+END_SRC
 
+** Ripgrep
+
+Step over Silver Search, here comes a new challenger.
+
+#+BEGIN_SRC emacs-lisp
+  (use-package ripgrep
+    :if (executable-find "rg"))
+
+  (use-package projectile-ripgrep
+    :bind (("C-c p s r" . projectile-ripgrep))
+    :ensure nil)
+#+END_SRC
+
 ** Projectile
 
 Projectile is awesome for working in projects, especially VCS-backed