This commit is contained in:
rohan nair 2024-10-31 12:23:04 +08:00 committed by GitHub
commit 09e024794a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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