Dienstag, 12. April 2011

Vim 003: Deleting all Lines of given Kind

In a file, all lines containing a given identifier 'IDENT' can be deleted by calling (within Vim):

:d/IDENT/g

Keine Kommentare:

Kommentar veröffentlichen