Sunday, October 11, 2020

Re: How to grep #tag?

On 11 Oct 2020, at 06:22, Bram Moolenaar <Bram@moolenaar.net> wrote:
> You can use any special character to surround the pattern, it's a lot
> easier than escaping. I often use ":grep /pattern/ *", unless the
> pattern contains a slash.

As soon as I learned you could use any delimiter you wanted I stopped using / and switched to | as I never have to escape pipes.

> --
> I'm trying to be an optimist, but I don't think it'll work.

--
No sense being pessimistic. It wouldn't work anyway.

--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/B8FD884E-B192-4F24-AC17-2E7976716455%40kreme.com.

No comments:

Post a Comment