home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!hal.com!darkstar.UCSC.EDU!cats.ucsc.edu!david
- From: david@cats.ucsc.edu (David Wright)
- Newsgroups: comp.editors
- Subject: remapping o and O
- Message-ID: <15c4ksINNs57@darkstar.UCSC.EDU>
- Date: 31 Jul 92 19:34:52 GMT
- Organization: University of California; Santa Cruz
- Lines: 21
- NNTP-Posting-Host: mingong-ws-2.ucsc.edu
-
-
-
- I would like to remap o and O in vi on a Unix SunOs 4.0. I would like to
- remain in escape mode and not enter insert mode. When I am in the editor,
- I can give a command like:
-
- :map o $a
-
- (with the appropriate 's; before each control character)
-
- Which does the job fine. However, I can`t seem to write it into my .exrc
- file. Any suggestions?
- --
- |^^^^^^| _______________________________________________________
- | | |"There is nothing in the marginal conditions that |
- | | | distinguish a mountain from a mole hill" |
- | (o)(o) O Kenneth Boulding |
- @ _) o|_____________________________________________________|
- | ____\ o o
- | /
- / \ All comments are mine---(David Wright)
-