Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!kinzler From: Stephen Kinzler Newsgroups: comp.editors Subject: Re: mapping = to ^D in vi Message-ID: <29399@iuvax.cs.indiana.edu> Date: 10 Nov 89 04:30:52 GMT Sender: Stephen Kinzler Lines: 21 Written by meyering@cs.utexas.edu in news:comp.editors ---------- "mapping = to ^D in vi" ---------- > I would like to cut down on the size of my environment. One good way > would be to use a .exrc file instead of EXINIT. The only problem I've > found is that I can't map any character to in the file, whereas > it works fine in the environment. In the file, ^D appears to be > interpreted as EOF (in the first example below, I get a "missing rhs" error. I don't know of anyway to get the ^D interpreted correctly in the .exrc file -- it'll probably have to go in the EXINIT string. You can still have an .exrc file if you source it from the EXINIT string, too. For example, here's mine: setenv EXINIT "so $HOME/.exrc|map! ldei|map! |map! " ------------------------------------------------------------------------ | ., >{~) ['} / Stephen Kinzler \ + < : ~$[~{}== | | % > %()}@! ' / kinzler@iuvax.cs.indiana.edu \ '}~{ >' & )<} | | <@"??{.,'} / {ames,rutgers,att}!iuvax!kinzler \ &"(&@+}<+;@) | | ])"} +{) / Indiana Univ Dept of Computer Science \ @ }[^??^&. | ------------------------------------------------------------------------