" ============================================================================= " Place these 13 lines (1 above, 11 below) in your .exrc file to implement " a VI interface to spell by Corey Satten, corey@cac.washington.edu. " NOTE: Contains control characters which may not survive mouse cut & paste. " NOTE: You may also need to unsetenv EXINIT to enable .exrc " ----------------------------------------------------------------------------- " Type * from command mode to spell-check the entire buffer. " Type = from command mode to locate the misspelled word under the cursor. " Type n to find additional instances, eventually n will return to the list. " Type 'adG from command mode to delete all spell-check output. :map * a:$ka|%t$|'at'a|s/.*/--------/|.1,$!spell 'ajma :map = :t.|s;.*;/\\<&\\>/;|d a|@a bn " =============================================================================