If you want to do something to the lines you can use the :v/@/
For example:
clear the 'c' register
qcq
Find all the lines and copy them into the 'c' register
:v/@/y C
~Adam~
On Wed, Jul 21, 2010 at 10:57, Chris Sutcliffe <ir0nh34d@gmail.com> wrote:
Hi All,
I'm trying to do a search in a file for all lines that do not contain
an '@' and I'm having a hard time figuring out the proper regex. Any
help would be greatly appreciated.
Thank you!
Chris
--
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment