Using Vim and ! commands

Theodore Papadopoulo Theodore.Papadopoulo at sophia.inria.fr
Fri Apr 18 17:34:27 UTC 2008


Daniel B. Thurman wrote:
> One other issue:  How to I search for patterns NOT in the list
>
> I thought it was something like:
>
> :g/^[^.]/d
>
> For deleting lines NOT containing '.'?
> Boy, I am getting a bit rusty!
>   
Try :v/\./d




More information about the fedora-list mailing list