# Jacktasia/dumb-jump

**URL:** <https://discuss.kakoune.com/t/jacktasia-dumb-jump/684>\
**Category:** Off Topic\
**Tags:** other-editors, plugins\
**Created:** [August 7, 2019, 12:15pm UTC](https://discuss.kakoune.com/t/jacktasia-dumb-jump/684 "2019-08-07T12:15:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreyorst](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/andreyorst/32/29_2.png) [@andreyorst](https://discuss.kakoune.com/u/andreyorst)\
**Post date:** [August 7, 2019, 12:15pm UTC](https://discuss.kakoune.com/t/jacktasia-dumb-jump/684/1 "2019-08-07T12:15:20Z")

</div>

> **[GitHub - jacktasia/dumb-jump: an Emacs "jump to definition" package for 50+...](https://github.com/jacktasia/dumb-jump)**
>
> an Emacs "jump to definition" package for 50+ languages - GitHub - jacktasia/dumb-jump: an Emacs "jump to definition" package for 50+ languages

Found this interesting package for Emacs today. Basically it aims to be able to jump to function or variable definition without code database like `tags` file generated by `ctags` or persistent language server running in a background, like LSP. It uses `ag`, `grep`, `rg`, and `git-grep` to do the search. I wonder if we could ship such functionality with Kakoune for supported languages.

---

<div class="post-metadata">

**Author:** ![robertmeta](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/robertmeta/32/833_2.png) [@robertmeta](https://discuss.kakoune.com/u/robertmeta)\
**Post date:** [August 7, 2019, 3:11pm UTC](https://discuss.kakoune.com/t/jacktasia-dumb-jump/684/2 "2019-08-07T15:11:21Z")

</div>

In the past few weeks, I had a good number of issues with kak-lsp, so I started to use my own “dumb-jump” solution more and more. Which is basically ripgrep into a named grep buffer (and highlighting the word using mark word) and using that to find references to that function or variable (even in comments / documentation)!

I actually like this method a lot and while it is slower that direct jumping, it adds some value on top of it by giving you a view of all references to that variable. It isn’t as smart as dumb-jump by was absolutely inspired by it.

---

<div class="post-metadata">

**Author:** ![andreyorst](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/andreyorst/32/29_2.png) [@andreyorst](https://discuss.kakoune.com/u/andreyorst)\
**Post date:** [August 7, 2019, 3:47pm UTC](https://discuss.kakoune.com/t/jacktasia-dumb-jump/684/3 "2019-08-07T15:47:29Z")

</div>

I’m using my command [`symbol`](https://github.com/andreyorst/dotfiles/blob/master/.config/kak/commands.kak#L105-L148) aliased to `@`. It creates temporary `tags` file for current file, searches for symbol in it and jumps. The only downside is that it doesn’t search in other files, what `dumb-jump` would do.

---

<div class="post-metadata">

**Author:** ![ulis](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/ulis/32/620_2.png) [@ulis](https://discuss.kakoune.com/u/ulis)\
**Post date:** [August 11, 2019, 11:57pm UTC](https://discuss.kakoune.com/t/jacktasia-dumb-jump/684/4 "2019-08-11T23:57:37Z")

</div>

If you have some time, please don’t hesitate to describe your issues with kak-lsp, I might be able to fix them 😉
