[comp.unix.questions] mapping to ^D in vi's .exrc

brian@caen.engin.umich.edu (Brian Holtz) (05/04/89)

How do I map a key to ^D (scroll down) in the startup file for vi?
If I

map x ^D

in my .exrc, vi stops processing the file when it detects the ^D
as end-of-file.  I would put this mapping in $EXINIT, but when
EXINIT is defined vi ignores one's .exrc, and I have more mappings
than I want to stuff into an environment variable.

Reply directly to me; thanks.