Sim, basta prefixar :silent
ao comando:
:silent lgrep -P 'pattern' %
Trecho de :help :silent
:
":silent" will also avoid the hit-enter prompt. When using this for an external command, this may cause the screen to be messed up. Use |CTRL-L| to clean it up then.