且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用 VIM 在我的项目的所有文件中搜索?

更新时间:2023-11-09 16:56:16

我找到了一个更好的解决方案:

There are a couple of things I do not yet understand the VIM way.

One of these is searching in a project like so (using VIM in Atom):

I use CtrlP currently for file names, but what about the contents?

How can I search with a string, and then look through a list of all occurrences using VIM and/or VIM plugins?

I've found an even better solution for this: FZF

It simply searches through everything in your project asynchronously using the :Ag command.