From c872baba2d548fe369c5740b03ff7535e0c83a2e Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Mon, 2 Nov 2020 00:19:21 +0000 Subject: [PATCH] Add support for emacs dumb-jump Allow easy navigation to function definitions in emacs. The rg (ripgrep) search is needed because as the dumb-jump README says: [...] the default searcher (git-grep) won't be able to search outside of the project root. This edge case will be fixed in a future release. See: https://github.com/jacktasia/dumb-jump --- .dir-locals.el | 1 + .dumbjump | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 .dir-locals.el create mode 100644 .dumbjump diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..97211a4 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1 @@ +((cperl-mode . ((dumb-jump-force-searcher . rg)))) diff --git a/.dumbjump b/.dumbjump new file mode 100644 index 0000000..060cbbd --- /dev/null +++ b/.dumbjump @@ -0,0 +1,2 @@ ++bin/*.in ++lib/*.pm.in