commit f6533d221ffedae90d321d59761a43e3541419bc parent 80e3c6e981fe5dcdb52d802d92da4bf921fa0e8b Author: Gabriel G. de Brito <me@gboncoffee.dev.br> Date: Wed, 25 Mar 2026 20:39:03 -0300 Added xref-find-references-and-replace keybind. Diffstat:
| M | emacs/config.org | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -219,8 +219,8 @@ Makes it easy to search anything. ("C-s" . consult-line) ("C-c /" . consult-grep)) :config - (setq xref-show-xrefs-function #'consult-xref - xref-show-definitions-function #'consult-xref)) + (setq xref-show-xrefs-function #'consult-xref) + (setq xref-show-definitions-function #'consult-xref)) #+END_SRC @@ -331,6 +331,8 @@ So the editor is a little less dumb. (lambda () (etags-regen-mode t) (xref-etags-mode t)))) + +(global-set-key (kbd "C-c 2") #'xref-find-references-and-replace) #+END_SRC ** Utilities