Recently, I've been relying on putting in unite and not being able to return to vim without unite, but
Only if you don't know how to use unite-grep with file extension and want to specify a file
:Ag HOGE-G\.h$
You are using ag.vim as shown in .
If possible, I would like to complete everything only with unite, but how can I do it?
Because grep itself does not have the option to specify a file pattern, unite-grep
does not seem to support it directly.
You can pass arguments to commands that you are using internally, so if unite-grep
is configured to use ag,
:Unite grep::-G\\\\.h$
It seems possible to specify that
© 2024 OneMinuteCode. All rights reserved.