Я бы хотел найти текст во всех файлах, открытых в настоящее время в vim, и отображать все результаты в одном месте. Я думаю, есть две проблемы:
- Я не могу передать список открытых файлов в
:grep
/:vim
, особенно имена файлов, которые не находятся на диске; - Результат
:grep -C 1 text
выглядит не очень хорошо в окне quickfix.
Вот хороший пример поиска нескольких файлов в Sublime Text 2:
Любые идеи?