【vim之grep】
:vimgrep 用于多文件搜索,如
1):vim[grep] start_stage * 在当前目录下(不包括子目录)搜索
2) :vim[grep] start_stage ** 在当前所有目录(包括子目录)搜索
3) :vim[grep] /start_stage/ * 在当前目录下搜索正则start_stage
4):vim[grep] /start_stage/ ** 在当前所有目录下搜索正则start_stage
grep四个字符可以省略,即使用时们写vim即可。
参考:http://blog.chinaunix.net/uid-14770335-id-3025369.html
原文:http://www.cnblogs.com/tekkaman/p/3512964.html