Path: utzoo!attcan!uunet!microsoft!steveha From: steveha@microsoft.UUCP (Steve Hastings) Newsgroups: comp.editors Subject: Re: spelling from within vi Message-ID: <59025@microsoft.UUCP> Date: 12 Nov 90 20:02:08 GMT References: <1990Oct31.153710.7865@cec1.wustl.edu> <1990Nov7.005405.461@investor.pgh.pa.us> Reply-To: steveha@microsoft.UUCP (Steve Hastings) Distribution: na Organization: Microsoft International Products Group Lines: 25 In article <1990Nov7.005405.461@investor.pgh.pa.us> rbp@investor.pgh.pa.us (Bob Peirce #305) writes: >I usually use :1,.$!spell. This replaces the buffer with your spelling >errors, but u[ndo] restores the buffer. Simpler still: :w !spell This pipes the whole file through spell, then waits for you to hit a key before showing you the file again. No danger of losing your data, and less to type. I have the following lines in my .exrc file: map - :w !spell^M map = :w !diction^M So when I hit the - key I get a spell check, and when I hit the = key I get a grammar check (very rudimentary). Sometimes I have thought about modifying these to pipe through more, but usually I get less than a screenful of complaints and the speed overhead isn't worth it. -- Steve "I don't speak for Microsoft" Hastings ===^=== ::::: uunet!microsoft!steveha steveha@microsoft.uucp ` \\==|