diff options
Diffstat (limited to '.emacs.d/modules')
-rw-r--r-- | .emacs.d/modules/thanos-devtools.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.emacs.d/modules/thanos-devtools.el b/.emacs.d/modules/thanos-devtools.el index 136404e..a46d81f 100644 --- a/.emacs.d/modules/thanos-devtools.el +++ b/.emacs.d/modules/thanos-devtools.el @@ -59,22 +59,21 @@ (setf indent-tabs-mode nil) -;; Register +;; Register & Consult (define-key global-map (kbd "C-x r d") 'bookmark-delete) (define-key global-map (kbd "C-x r C-r") 'bookmark-rename) (define-key global-map (kbd "C-x r .") 'consult-register) (define-key global-map (kbd "C-x r s") 'consult-register-store) (define-key global-map (kbd "C-c f") 'consult-grep) +(define-key project-prefix-map (kbd "b") 'consult-project-buffer) (define-key global-map (kbd "M-y") 'consult-yank-from-kill-ring) +(setf xref-show-xrefs-function #'consult-xref + xref-show-definitions-function #'consult-xref) (setf register-preview-delay 0.5 register-preview-function #'consult-register-format) -;; xref -(setf xref-show-xrefs-function #'consult-xref - xref-show-definitions-function #'consult-xref) - (defun insert-brackets (&optional arg) "Insert brackets." (interactive "P") |