dev: Add deadgrep in order to use ripgrep

Add the deadgrep mode together with a keybinding in order to call
ripgrep from emacs.
This commit is contained in:
finga 2023-08-01 16:27:23 +02:00
parent 7a355e8890
commit 89d25e16e2

View file

@ -17,6 +17,11 @@
;; Turn on flyspell when writing commit messages ;; Turn on flyspell when writing commit messages
(add-hook 'git-commit-setup-hook 'git-commit-turn-on-flyspell)) (add-hook 'git-commit-setup-hook 'git-commit-turn-on-flyspell))
;; use ripgrep in emacs
(use-package deadgrep
:ensure t
:bind ("M-s d" . deadgrep))
;; rust ;; rust
(use-package cargo :ensure t) (use-package cargo :ensure t)
(use-package cargo-mode :ensure t) (use-package cargo-mode :ensure t)