Closed good-idea closed 5 years ago
I'm using ag, and trying to achieve an even "fuzzier" search that is closer to how VS Code works. For instance, with the following files:
ag
fragments/projectFragment.ts parsers/project.ts ProjectView/styled.tsx ProjectView/index.ts ProjectView/ProjectView.tsx
I'd like to search for proj sty and get this to match ProjectView/styled.tsx.
proj sty
ProjectView/styled.tsx
In the terminal, I can do ag -i -g proj(.*)sty and get the result that I want.
ag -i -g proj(.*)sty
Is there a way in vim to transform proj sty into proj(.*)sty?
proj(.*)sty
(Or any other way of achieving a fuzzier search like this?)
Oops, meant to post this in the ctrpl/ctrlp.vim repo. Anyway, i just realized that i can search for projsty and get what I want 😅
projsty
I'm using
ag
, and trying to achieve an even "fuzzier" search that is closer to how VS Code works. For instance, with the following files:I'd like to search for
proj sty
and get this to matchProjectView/styled.tsx
.In the terminal, I can do
ag -i -g proj(.*)sty
and get the result that I want.Is there a way in vim to transform
proj sty
intoproj(.*)sty
?(Or any other way of achieving a fuzzier search like this?)