home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / question / 15329 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!mcsun!ieunet!tcdcs!maths.tcd.ie!creilly
  3. From: creilly@maths.tcd.ie (Colman Reilly)
  4. Subject: Re: .exrc file for vi customization
  5. Message-ID: <1993Jan8.171403.12645@maths.tcd.ie>
  6. Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
  7. References: <smr.723822561@hitkw14> <1992Dec09.171536.9561@ssc.com> <1992Dec11.231726.11125@black.ox.ac.uk> <1993Jan8.145501.29122@apgea.army.mil>
  8. Date: Fri, 8 Jan 1993 17:14:03 GMT
  9. Lines: 26
  10.  
  11. mlwilkin@apgea.army.mil (Michael L. Wilkins <mlwilkin>) writes:
  12.  
  13. >In article <1992Dec11.231726.11125@black.ox.ac.uk> tbrann@black.ox.ac.uk (Tony Brannigan) writes:
  14. >>fyl@ssc.com (Phil Hughes) writes:
  15. >>|>I have one thing to add.  Much like Stephen's example I find that I need
  16.  
  17. [stuff about .exrc's deleted]
  18.  
  19. >all over the place until I found out that I could accomplish the same key
  20. >mappings in my $HOME/.exrc, I could eliminate the problem with EXINIT and
  21. >stopped worrying about version controlled on all those .exrc files.
  22.  
  23. My solution was to write a script I call in place of vi that sets the EXINIT
  24. to "so c.set" if the file is .c, "so tex.set" if it's .tex etc.
  25.  
  26. If it doesn't recognise the file type it just uses a default set up.
  27.  
  28. What I really want is a son of vi editor with a proper tcl like interface for
  29. it's init file.
  30.  
  31. Colman
  32. -- 
  33. Colman Reilly (creilly@maths.tcd.ie) [+353-(0)1-7022280]
  34. c/o School of Mathematics,18.05 Westland Row,Trinity College,Dublin.
  35. PGP Public Key on Request
  36. "Nothing so strong as gentleness; nothing so gentle as real strength." 
  37.