I would like to search the word under my prompt on vim. For this, i tried to press touch *. But, if the word i want to search is #foo, as an exemple, vim only searches word foo (without hashtag), so it fails.
In fact, hashtag is not considered in the word, which is confirmed when i try to go to the next word from # with w.
Do you know how i can search effectively #titi by pressing * on my keyboard?
Thanks.
iskeyword
consider this: how should all of the non-keyword characters that are fully or partially pattern atoms (i.e. they are special in a regex) be handled. Existing*
functionality doesn't need to worry about how to handle*
,?
,(
, etc. That functionality would need to be well defined.g*
instead of*
and continue jumping usingn
until I find what I am looking for.