I'm dealing with a tiny, yet annoying (to me) feature of Evil.
evil-search-module is set to
evil-search. Why that is relevant explained in this post
When I invoke evil-search (bound to
* in normal state), it always tries to search for a symbol. e.g, if I have cursor at
FooBar - it will search for occurrences of 'FooBar' in the current buffer.
And even if I select only 'Foo' part of it, it would ignore my selection and search for the whole thing. Now, this isn't a bug, I checked, Vim does the same thing.
But is it possible (what am I saying? of course it is possible).
How can I make it respect the selection? If I have selected 'Foo' it should search only for occurrences of 'Foo'; if I select 'Bar' - it should only search for 'Bar', and so on...