From 58ee489097dfebbdf706ba15ca27991be055e9cc Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 12 Oct 2023 00:05:22 +0300 Subject: emacs: Fix typos and docstrings --- .emacs.d/modules/thanos-tools.el | 3 +++ 1 file changed, 3 insertions(+) (limited to '.emacs.d/modules/thanos-tools.el') diff --git a/.emacs.d/modules/thanos-tools.el b/.emacs.d/modules/thanos-tools.el index 9e444c3..9d58d75 100644 --- a/.emacs.d/modules/thanos-tools.el +++ b/.emacs.d/modules/thanos-tools.el @@ -60,15 +60,18 @@ (setf indent-tabs-mode nil) ;; Register & Consult +(define-key Info-mode-map (kbd "F") 'consult-info) (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-x r b") 'consult-bookmark) (define-key global-map (kbd "C-c g") 'consult-grep) (define-key global-map (kbd "C-c f") 'consult-find) (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) -- cgit v1.2.3