Tuesday, May 7, 2019

Re: searching one word containing # with touch *

So, without modifying my isk, it seams that g* for #, but not for -.
Correct?

It means that if i do g* on #foo-bar, it search #foo, right?




On lun., 2019-05-06 at 22:12 +0200, Christian Brabandt wrote:
> On Mo, 06 Mai 2019, 'Andy Wokula' via vim_use wrote:
>
> > When you add characters to 'isk' with the star command `*'
> > and again remove them when going to a tag with Ctrl-],
> > then suddenly `#foo' is no longer found, because the pattern
> > \<#foo\>
> > ceases to match (`\<' only matches before an 'isk' character).
> > Searching for
> > #foo\>
> > instead should be fine.
>
> Indeed. I usually use the g* command in the case (although it does
> something slightly different) I need this.
>
> Best,
> Christian
> --
> Moral - meist Predigt dessen, der nicht daran glaubt, für den, der
> sich nicht darum kümmert.
> -- Karlheinz Deschner
>
> --

--
--
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/bfa57d83986df1f45ffeefd6e754691ca1658b3a.camel%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments: