Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

grep.vim: 默认使用上次的文件模式

  • Loading branch information...
commit 32da9e0ade1c1eb7f1822efd91ba49a6ac9b62d3 1 parent db91286
@lilydjwg authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  plugin/grep.vim
View
2  plugin/grep.vim
@@ -530,6 +530,7 @@ function! s:RunGrepRecursive(cmd_name, grep_cmd, action, ...)
return
endif
endif
+ let g:Grep_Default_Filelist = filepattern
let txt = filepattern . ' '
let find_file_pattern = ''
@@ -774,6 +775,7 @@ function! s:RunGrep(cmd_name, grep_cmd, action, ...)
return
endif
endif
+ let g:Grep_Default_Filelist = filenames
" Add /dev/null to the list of filenames, so that grep print the
" filename and linenumber when grepping in a single file

0 comments on commit 32da9e0

Please sign in to comment.
Something went wrong with that request. Please try again.