add info to remove highlights

This commit is contained in:
rohan 2024-10-19 02:05:39 +05:30
parent 33e43c80cb
commit 02d389799e

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