> Excerpts from Eric Weir's message of Sun Dec 11 00:38:14 +0100 2011:
>> Perhaps is more a wish than a question. I think I know the answer.
>> Nevertheless, can vim search on files not open in it?
> solution 1) use external grep like commands:
> set grepprg=grep (this is default - unsure about windows)
> :grep -r 'word' file-or-dir-liste
> -ri = ignoring case etc. See man grep.
>
> solution 2)
> :h vimgrep
>
> related solutions:
> - gnu idutils (creates index so that you can search for words and regexes faster)
> - tags (create index of items found in source code or latex files, headers, functions, ..)
> - cscope (same but limited to C)
> - ...
Thanks, Marc. Lots to learn. Vim is like that. Certainly will be for me for whatever time remains to me.
Sincerely,
------------------------------------------------------------------------------------------
Eric Weir
Program and Resource Development ~ Evaluation ~ Writing
Education ~ The Environment ~ Community Development
1111 Clairemont Avenue J3 ~ Decatur, GA 30030
404-636-6142 ~ eeweir@bellsouth.net
--
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:
Post a Comment