addded nohl info to remove highlights

This commit is contained in:
rohan 2024-10-19 02:15:26 +05:30
parent 774ae2c45a
commit b98bc6f95a

View File

@ -54,6 +54,7 @@ specific points in the file, and for fast editing.
?word # Highlights all occurrences of word before cursor
n # Moves cursor to next occurrence of word after search
N # Moves cursor to previous occurrence of word
:nohl # Clear highlights of last search
:%s/foo/bar/g # Change 'foo' to 'bar' on every line in the file
:s/foo/bar/g # Change 'foo' to 'bar' on the current line