:set hlsearch Then search for a pattern with the command / in Normal mode, or <Ctrl>o followed by / in Insert mode # to remove highlight :nohlsearch