_From @roblourens on March 30, 2018 0:55_

_Copied from original issue: Microsoft/vscode#46978_
_From @nerdmax on July 13, 2018 1:45_
+1
_From @diescake on July 17, 2018 4:22_
+1
_From @nerdmax on July 31, 2018 4:59_
I found a workaround! If you just want to highlight the current word, you can use # or * command to navigate previous or next matched word.
@alexandrudima do you think adding a CursorChangeReason for cursor changes from api and allow word highlighter to retrigger when seeing changes from api would lead to too much word highlighting tasks?
_From @forrestbaer on September 11, 2018 13:54_
+1
Would nice to at least get typical mouse cursor functionality with a keypress, so i hover over a word or linter error or whatever and hit a key and I get the same effect as if I had hovered in that location.
_From @alexandrudima on September 12, 2018 13:45_
@rebornix Not sure 100% what you mean, but I think the problem here is that we lose the information that the cursor was moved due to a direct interpretation of a cursor navigation keypress (i.e. not like jump to definition or undo, etc)... Would be good if we would have a way to distinguish the vim case from the rest of the users of TextEditor.selections
I added a command for triggering the word highlight editor.action.wordHighlight.trigger if there is no word highlighting available in the document (meaning the word highlighting feature is enabled but there are no decorations for current word). Our Vim ext can decide when to call this command to run the word highlighting.
Would it be possible to have auto trigger word highlighting after delay (if vim editing is idling)?
Just did a quick test running editor.action.wordHighlight.trigger at the end of ModeHandler.updateView, which works but is definitely overkill. Any reason we shouldn't just run this every time a motion is executed? We could make sure ~there's only one cursor and~ it's not on a whitespace character.
The auto highlighting really messes with me, so I set "editor.occurrencesHighlight": false.
If I do Shift + 8 I can jump around to to each occurrence but they aren't highlighted. If I double click the things it still highlights.
Is this related? How do I get it to highlight on shift + 8 the same as double clicking?
@ryanflorence We use our own highlighting for * (same as searching). You can customize it with vim.searchHighlightColor and vim.searchHighlightTextColor
Most helpful comment
Just did a quick test running
editor.action.wordHighlight.triggerat the end ofModeHandler.updateView, which works but is definitely overkill. Any reason we shouldn't just run this every time a motion is executed? We could make sure ~there's only one cursor and~ it's not on a whitespace character.