I have files which I source in my files. I want to search them, when I am at a file which have these sources.
I run unsuccessfully
!bufdo grep source
and
!bufdo grep source %
Example of .zshrc which sourced PATHs I want to grep
# ~/bin/shells/Zsh/describtion
# ~/bin/shells/Zsh/bugs
# ./bin/shells/zsh/alphaOptions
. /Users/masi/bin/shells/.personal/ssh
. /Users/masi/bin/shells/.personal/shellVariables
. /Users/masi/bin/shells/.personal/alias
. /Users/masi/bin/shells/externalPrograms
. /Users/masi/bin/shells/codingSettings
# . /Users/masi/bin/shells/OS/ubuntu/alias
# ~/bin/shells/Zsh/sources
Let's assume you are at my .zshrc. You want to search the word "manual" in all sourced files in Vim.
How would you search the word manual in only the sourced files?