On 08/24/2011 12:00 PM, Marc Weber wrote:
Not being an expert at regex I have been a bit baffled by how to do a
grep/vimgrep to match.

That's what I'm doing:

https://github.com/MarcWeber/vim-addon-other/blob/master/plugin/vim-addon-other.vim

defines mappings \dl and \kl (drop lines and keep lines).
This work for buffers and quickfix. Thus if you want to find them  only
match your first word, then drop everything matching the second word.
Easy to remember.

You can also wait until someone takes the time to write the regex for
you.

On this list, such wait-times are often pretty short ;-)

-tim


--
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

Reply via email to