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