In gvim normal mode, the
* key searches for the word under the cursor.
Say I have a file with the following lines:
life alifexea a_life_xea a life x a=life life=a b=life; c=b?life:a; life? ?life
The cursor is in first line. I press
* in normal mode. I expect and want all "life" to get highlighted except the 2nd line which has "alifexea a_life_xea". But it doesn't highlight the last 3 lines since the
? is probably considered a normal character. If I search using
/life then all lines get highlighted which I do not want. Is there a way around (some setting) to make sure my expectation is satisfied when I search using