GNU/Linux ◆ xterm-kitty ◆ zsh 1133 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

More by vonheikemen

replace variable 00:20

by vonheikemen

prepend text 00:12

by vonheikemen

lsp-zero demo 02:08

by vonheikemen

See all