This commit is contained in:
rohan nair 2024-12-01 13:04:58 +05:30 committed by GitHub
commit 06f533ac41
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