fix(emacs): add keybinds for consult
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
c55d3eb1be
commit
577c1c6533
1 changed files with 4 additions and 0 deletions
|
@ -157,6 +157,10 @@
|
||||||
(add-hook 'markdown-mode-hook #'markdown-toggle-fontify-code-blocks-natively)
|
(add-hook 'markdown-mode-hook #'markdown-toggle-fontify-code-blocks-natively)
|
||||||
(add-hook 'markdown-mode-hook #'olivetti-mode)
|
(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
|
;; Grading
|
||||||
(defun grade-next (&optional inc)
|
(defun grade-next (&optional inc)
|
||||||
"Go to the next homework by INC to grade."
|
"Go to the next homework by INC to grade."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue