ignorecase VIM Command

How to use ignorecase Command in Linux VIM editor?


ignorecase command is used to consider both the lower case and upper case letters while searching. When you set this command, the vim will ignore case sensitive and consider only the letter.


:set ignorecase


  • Open the file test.txt
    $ vim test.txt
  • To ignore case while searching
    :set ignorecase
  • To search the letter 'I' in the file.
    Enter /I
    Ignorecase Vim Command

Ask Questions

Ask Question