as a result of the recent work on the Linux system, often used to vi/vim, the operation of Vim for a certain period of time, began to use the high-frequency vim of the various shortcuts, of course, there is no less vim inside the powerful search and replace function.
In command mode, to search for specific content in a file, such as "Hello World", enter/hello world directly, at which time Vim will highlight all "Hello World" that matches it (the highlighted color depends on the system settings and terminal style), Press the N cursor to enter the next match and press N to enter the previous match.
When we find out, we want to remove the matching highlighting, which corresponds to two common methods:
1. In command mode, match a longer or less-than-content content to overwrite the original match.
2. In command mode, press:, enter Noh, and the original match on the screen is canceled.
Because of the car, we have a mission, because you, we have the power, believe us, car and home.
This article is from the "Sea" blog, be sure to keep this source http://lisea.blog.51cto.com/5491873/1787539
Linux drill---------Vi/vim removal history search results highlighting