Which of the following set options is used with vi editor to ignore case while searching for patterns? A. ic B. ai C. sm D. ts E. None of the above

ic
ai
sm
ts E. None of the above

The correct answer is A. ic.

The ic option is used with vi editor to ignore case while searching for patterns. This means that if you search for “foo”, it will also match “FOO” and “fOo”.

The other options are not used to ignore case while searching for patterns.

  • ai: This option is used to ignore whitespace when searching for patterns.
  • sm: This option is used to search for patterns in a case-sensitive manner.
  • ts: This option is used to set the tab stop width.

I hope this helps!

Exit mobile version