O'Reilly logo

Practical UNIX by Steve Moritsugu - DTR Business Systems

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting Options for Inserting Text

In vi, the set command enables you to turn on or off various modes in vi. This section looks at modes that enhance text input.

Ignoring Case When Searching Using / or ?

To ignore case when searching ahead for strings using the slash or searching backward using the question mark, enter the following:

:set ignorecase

To turn off this mode, enter this:

:set noignorecase

You can abbreviate this command as ic, as follows:

:set ic
:set noic

Setting vi to Always Show the Input Mode

showmode Is Great for Beginners

It is very common to hear a lot of beeps when beginners first learn to use vi. The beeps indicate errors and many beeps indicate that the beginners are making many errors. One of the most common errors ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required