From b98bc6f95abd533d2b99e27945bace1fdd6eff4c Mon Sep 17 00:00:00 2001 From: rohan Date: Sat, 19 Oct 2024 02:15:26 +0530 Subject: [PATCH] addded nohl info to remove highlights --- vim.html.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/vim.html.markdown b/vim.html.markdown index d120b944..0ac5336d 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