vi `ei:' (`modeline')

Physically Pffft jlh at loral.UUCP
Fri Oct 21 05:56:06 AEST 1988


In article <4151 at boulder.Colorado.EDU> wu at spot.Colorado.EDU (WU SHI-KUEI) writes:
>Curiousity has gotten the better of me and unfortunately I cannot send replies
>from this machine .... but why turn on ignorecase?  In the six or seven years
>I have used and taught vi I have never heard of anyone using this feature and
>would appreciate what Jim Harkins' (and anyone else's) motivation is for
>turning it on.
>
Because I'm lazy and would rather just type in what I want to look for 
without messing with shift keys.  And in text files I don't like worrying
about whether or not my word is the start of a sentance, in which case
the first letter is capitalized.  I've actually gotten so used to having
it I get upset when forced to use an editor without this feature.

Does anyone know of a way to have the search operation always respect the
case?  Just this morning I edited lots of files where I wanted to change
the string 'vax' to 'simulate' but leave the string 'VAX' unchanged.  I
sure got tired of typing in ':set noic' everytime I found a file that
needed a change, and then having my regular searches fail due to ignorecase
being turned off.

							Jim
PS.  It's been brought to my attention the signature below is out of date.
     I'll fix it when I have time.


-- 
Jim Harkins 				jlh at loral.cts.com may work.
Loral Instrumentation, San Diego
{ucbvax, ittvax!dcdwest, akgua, decvax, ihnp4}!ucsd!sdcc6!loral!jlh



More information about the Comp.unix.questions mailing list