dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 19fc1fd31455f1ca590f5fc13a80d1573b7788b5
parent e8bd517957f65c73f495bdb81770cadf2bfd3262
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Tue,  2 Aug 2022 20:32:38 +0200

emacs: dumb jump

Diffstat:
Memacs/config.org | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/emacs/config.org b/emacs/config.org @@ -1547,6 +1547,22 @@ I want a custom keybinding to easily toggle: (use-package try) #+end_src +** dumb-jump +"jump to definition" package, minimal configuration with no stored indexes. +Uses The Silver Searcher ag, ripgrep rg, or grep to find potential definitions of a function or variable under point. + +#+begin_src emacs-lisp + (use-package dumb-jump) +#+end_src + +Enable xref backend: + +#+begin_src emacs-lisp + (add-hook 'xref-backend-functions #'dumb-jump-xref-activate) + (setq xref-show-definitions-function #'xref-show-definitions-completing-read) +#+end_src + + * Interface ** Start debugger on error #+begin_src emacs-lisp