Re: Using Vim and ! commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux