Sunday, January 8, 2012

Re: Find in all files..

On Jan 6, 1:55 am, sathyashrayan <sathyashra...@gmail.com> wrote:
>
> One of the important capability is to search files in a directory. I know i
> can use "grep" and use grep and give ":cw or :copen". But it is not as
> helpful as like "search and double click the displayed result line and go
> to that file, cursor point to that searched word". If i am able to find a
> way for this then i can use vim as an IDE. There is a linkhttp://vim.wikia.com/wiki/Find_in_files_within_Vimbut it is little bit
> hard to understand.

Either :grep or :vimgrep will populate the "quickfix list". You can
display this list with :copen or :cwindow. This list allows you to
press enter or double-click on a search result to jump to it.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: