GNU/Linux ◆ xterm-kitty ◆ zsh 821 views

Using :vimgrep command (also works with :grep) and the quickfix list to find and replace text in multiple files.

For this to work you need to set the errorformat variable in the quickfix buffer: setlocal errorformat=%f\|%l\ col\ %c\|%m

or in your .vimrc: set errorformat+=%f\|%l\ col\ %c\|%m