Hacker News new | past | comments | ask | show | jobs | submit login

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/

[1]: https://github.com/junegunn/fzf.vim




+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.


Yup. 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.


Yep 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: