I use Vim as a text editor and when I am in an OCaml source code, if I have something like this:
if I put the cursor somewhere on MyModule and I press the # or the * key, Vim is going to search for MyModule.my_function, but I would like it to search only for MyModule. And if I put the cursor on my_function, I would like it to search only for my_function.
Is there a simple way to do it? I couldn't identify the regexp in the vim syntax file...