Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!caen.engin.umich.edu!brian From: brian@caen.engin.umich.edu (Brian Holtz) Newsgroups: comp.unix.questions Subject: mapping to ^D in vi's .exrc Keywords: vi Message-ID: <43014a0c.142c4@retina.engin.umich.edu> Date: 3 May 89 18:42:00 GMT Distribution: usa Organization: U of M Engineering, Ann Arbor, Mich. Lines: 11 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.