> 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)
- ...
Marc Weber
--
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