From 02d389799e80063fd062cf537a8826e8db5874f7 Mon Sep 17 00:00:00 2001 From: rohan Date: Sat, 19 Oct 2024 02:05:39 +0530 Subject: [PATCH] add info to remove highlights --- vim.html.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/vim.html.markdown b/vim.html.markdown index e8c00310..8778922b 100644 --- a/vim.html.markdown +++ b/vim.html.markdown @@ -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