post image :date_long | 1 min Read

Useful Vim Commands

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

202403261303

author image

Jan Toth

I have been in DevOps related jobs for past 6 years dealing mainly with Kubernetes in AWS and on-premise as well. I spent quite a lot …

comments powered by Disqus