Post

How to use bufdo in Neovim

Useful Vim Commands

How to use bufdo in Neovim
  • Find all yaml files that satisfy pattern, open them in Vim and delete each line that has some string in it
1
2
v organization/*/*/*/*/XZY*.yaml
:bufdo exe "g/bigtable.googleapis.com/d" | update

202403261303

This post is licensed under CC BY 4.0 by the author.