1
有没有Bundle
(对于gmarik/Vundle.vim
)或其他地方(网站,包,回购),我可以找到并安装RecurGrep
?我在哪里可以在vim中找到RecurGrep命令?
有没有Bundle
(对于gmarik/Vundle.vim
)或其他地方(网站,包,回购),我可以找到并安装RecurGrep
?我在哪里可以在vim中找到RecurGrep命令?
我不相信有一个插件,而只需要将以下行添加到您的.vimrc
文件。我不确定它最初来自何处。
" simple recursive grep
command! -nargs=1 RecurGrep lvimgrep /<args>/gj ./**/*.* | lopen | set nowrap
command! -nargs=1 RecurGrepFast silent exec 'lgrep! <q-args> ./**/*.*' | lopen
nmap ,R :RecurGrep
nmap ,r :RecurGrepFast
nmap ,wR :RecurGrep <cword><CR>
:RecurGrep
后有一个空格::RecurGrep-> <-
这样你不必每次使用映射快捷方式时都键入密码。