mapping to ^D in vi's .exrc

Brian Holtz brian at caen.engin.umich.edu
Thu May 4 04:42:00 AEST 1989


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.



More information about the Comp.unix.questions mailing list