On 2020-10-11, Shlomi Fish <shlomif@shlomifish.org> wrote:
> On Sat, 10 Oct 2020 21:09:26 -0000 (UTC)
> Lifepillar <lifepillar@lifepillar.me> wrote:
>
>> How can I grep text with a special symbol, such as #?
>
> Either:
>
> :grep \\#p
>
> Or:
>
> :grep '\#p'
>
> Seem to work here in gvim (Linux; shell is either bash or zsh).
That does it! Double-escaping is always tricking me.
Thanks,
Life.
--
--
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/rlumj5%2415f7%241%40ciao.gmane.io.
No comments:
Post a Comment