> Not being an expert at regex I have been a bit baffled by how to do a
> grep/vimgrep to match. I am probably stepping on my own foot as I
> think I have done such in the past but have not been readily able to
> do this. Can anyone point me in the right direction?
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.
Marc Weber
--
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