syntax aware grep
Vim script Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.rst
syngrep
syngrep.vim

README.rst

syngrep - syntax aware grep

usage:syngrep [-s syntax_pattern] /pattern/ file [file...]

example:

$ syngrep -s function /Grep/ syngrep.vim
syngrep.vim:8:vimFunction:function SyntaxGrep(args, ...)
$ syngrep -s function /Grep/ '**/*.vim'
syngrep.vim:8:vimFunction:function SyntaxGrep(args, ...)