dobata
dobata

Reputation: 21

Vim: Find in Buffers capabilities that resembles those in TextMate

In TextMate you can drag one or more files onto the icon and use "Find in Project" to search those files, can this be replicated for the current open buffers in Vim?

Upvotes: 2

Views: 728

Answers (3)

romainl
romainl

Reputation: 196781

I like LustyExplorer which has a very fast and easy to use "search in buffers" function.

Ack.vim works in a sort-of-similar way but is file-system based.

Upvotes: 1

Xavier T.
Xavier T.

Reputation: 42238

Out of the box, Vim does not have project management features, but as mentioned by sat you can use various grep command to find something in files or sub-directories.

However you can install project.vim which is a plugin providing the management of multiple files (including search a la Textmate)

Upvotes: 0

sat
sat

Reputation: 41096

grep lgrep vimgrep lvimgrep

These commands might help you.
Check here, If this is what you are looking for.

http://vim.wikia.com/wiki/Find_in_files_within_Vim

Upvotes: 2

Related Questions