noincsearch VIM Command

How to use noincsearch Command in Linux VIM editor?

Explanation


noincsearch command is used to turn off incremental highlighting of the searching string while typing.

Usage:

:set noincsearch

Example:

  • Open the file test.txt
    $ vim test.txt
  • To turn off the incremental highlight search
    :set noincsearch
  • To search the string 'India' in the file.
    Enter /India
    noincsearch Vim Command

Ask Questions

Ask Question