# search for searchable string in all the files vim -c ':vimgrep /searchable/ `find . -type f \| grep -v .git \| grep -v .log`' " if those bellow are set in ~/.vimrc you cycle back and forth with F5 and F6 " :vimgrep /$to-srch/ `find . -type f -name '*.pm' -o -name '*.pl'` " F5 should find the next occurrence after vimgrep map
:cp! " F6 should find the previous occurrence after vimgrep map :cn! Из .vimrc с дополнительными настройками и пояснениями