SoFunction
Updated on 2025-03-09

Vim matches the same words and highlights

Move the cursor to the word you want to match:

"g + d" :Highlight all the same words
shift + "*" :Find the same word down and highlight it
shift + "#" : Find the same word upward and highlight itOutput in command line mode:“noh” Command to cancel highlighting

Summarize

The above is the Vim introduced to you. It matches the same words and highlights the function. I hope it will be helpful to you. If you have any questions, please leave me a message. The editor will reply to you in time!