I would like to highlight a word under the cursor without moving on to the next result.
The solution I found uses a marker:
noremap * mP*N`P
Is there a better solution?
I noticed that vim is not good at keeping its cursor position after executing commands. For example, when I switch the buffer, the cursor returns to the beginning of the line.
I may be interested to have global settings for this.
nowox source share