RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
:v/pattern/d
Example: > cat example.txt TODO: complete this NOT this NOT that TODO: Complete that Open the example.txt using vim and type :v/TODO/d in the Ex mode. This will delete all lines that do not contain the TODO pattern.
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website