3 ms·
Vim supports ctags[0] lookup out of the box which fits your need somewhat. I tend to use FZF[1] which has functions for leveraging ripgrep and silver surfer fo
by Jenk 5y ago
Vim supports ctags[0] lookup out of the box which fits your need somewhat.
I tend to use FZF[1] which has functions for leveraging ripgrep and silver surfer for searches. It can also use find. FZF also has dialogues for paring down results in real time (i.e., as you type)
There are also plugins that are much more nuanced and more involved for searching symbols and providing autocomplete. Duoplete, vimcomplete, youcompleteme spring to mind.
[0]: https://ctags.io/ https://ctags.io/
[1]: https://github.com/junegunn/fzf.vim https://github.com/junegunn/fzf.vim
- Lio 5y agoYep that’s what I do too. ctags are fast and low overhead to generate. The other alternative is to set up a Language Server (LSP) for navigation and you can use the same ones as VSCode uses.
- roperzh 5y ago+1 As a fellow global search fan, FZF + the silver searcher is the way to go. You just type `:Ag <your string>` and you're done.
- ByteJockey 5y agoYup. FZF is where it's at. :Files to jump to a file, :Rg to search around for some content. I also keep vinegar around for when I want to poke around at the contents of a directory.