From 577c1c65336369b65a83ce132f6fbef2e75ff283 Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Wed, 31 Jan 2024 10:04:02 -0500 Subject: [PATCH] fix(emacs): add keybinds for consult Signed-off-by: Lucas Sta Maria --- .emacs.d/include/misc.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.emacs.d/include/misc.el b/.emacs.d/include/misc.el index 95b2976..2a8ef85 100644 --- a/.emacs.d/include/misc.el +++ b/.emacs.d/include/misc.el @@ -157,6 +157,10 @@ (add-hook 'markdown-mode-hook #'markdown-toggle-fontify-code-blocks-natively) (add-hook 'markdown-mode-hook #'olivetti-mode) +;; Consult +(keymap-global-set "C-c r r" #'consult-ripgrep) +(keymap-global-set "C-c r g" #'consult-grep) + ;; Grading (defun grade-next (&optional inc) "Go to the next homework by INC to grade."