Is there a way in vim to search (grep/ack etc..) for strings in files in a similar fashion like one would do in CommandT?
So say that I invoke the search window. Possible matches for the string I wrote so far will start to show while I continue typing.
I don't think there is any native (as in :set findasyoutype
) way to do exactly what you want.
But there's a plugin for that ! Well, at least three:
:LustyBufferGrep
command. It requires Vim to be compiled with Ruby support.line
extension.I don't know how it looks like in CommandT, but if you issue the command :set incsearch
(or put it in your .vimrc), once you search as usual, using /
, vim highlights the first found item.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With