home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!warwick!uknet!cvedg!medusa.prime.com!mike
- From: mike@CIS.Prime.COM (Mike Causer)
- Newsgroups: comp.unix.questions
- Subject: Re: Spell checker from inside vi
- Message-ID: <1993Jan28.102248.4507@medusa.prime.com>
- Date: 28 Jan 93 10:22:48 GMT
- References: <1993Jan26.170105.4573@doug.cae.wisc.edu>
- Sender: news@medusa.prime.com
- Reply-To: mike@CIS.Prime.COM
- Organization: Computervision R&D Ltd
- Lines: 13
-
- >In article <C1HD54.Iv@news.udel.edu> william@bach.udel.edu (Wild William) writes:
- >>Is there a simple way to do spell checking on the current file from
- >>inside vi?
- >>
- >>i tried {!}spell but strange codes show up and it doesn't show any
- >>alternatives etc.
-
- The following works for ispell, put it into your .exrc file and hit S in
- command mode, it does the whole file however.
-
- map S :1,$w! /tmp/rcwspell^M:!ispell /tmp/rcwspell^M^M:1,$d^M:r /tmp/rcwspell^M
-
- Mike Causer (mike@cis.prime.com)
-