mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-26 20:34:32 +03:00
addded nohl info to remove highlights
This commit is contained in:
parent
774ae2c45a
commit
b98bc6f95a
@ -54,6 +54,7 @@ specific points in the file, and for fast editing.
|
|||||||
?word # Highlights all occurrences of word before cursor
|
?word # Highlights all occurrences of word before cursor
|
||||||
n # Moves cursor to next occurrence of word after search
|
n # Moves cursor to next occurrence of word after search
|
||||||
N # Moves cursor to previous occurrence of word
|
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 every line in the file
|
||||||
:s/foo/bar/g # Change 'foo' to 'bar' on the current line
|
:s/foo/bar/g # Change 'foo' to 'bar' on the current line
|
||||||
|
Loading…
Reference in New Issue
Block a user