Improve speed of 'vimgrep' commands by using a global lock