tkevans@oss670.UUCP (Tim Evans) (02/15/91)
Is there a way to enter a "required" space in the 'vi' editor and have word wrap (when 'wrapmargin' is set to something greater than 0) not divide two words? That is, a space between two words which must never be divided between lines. Say, for example, you want to have a legal quotation in a file, such as "Section 102(a)" of some law or other. How can you keep "Section" and "102(a)" from being separated when 'vi' wraps at the end of a line? Thanks. NOTE: If you reply via e-mail, please use the address below. -- INTERNET tkevans%woodb@mimsy.umd.edu UUCP ...!{rutgers|ames|uunet}!mimsy!woodb!tkevans US MAIL 6401 Security Blvd, 2-Q-2 Operations, Baltimore, MD 21235 PHONE (301) 965-3286
Dan_Jacobson@ATT.COM (02/16/91)
>>>>> On 15 Feb 91 14:08:09 GMT, tkevans@oss670.UUCP (Tim Evans) said:
Tim> How can you keep "Section" and "102(a)" from being separated
Tim> when 'vi' wraps at the end of a line?
I deal with this by leaving the formatting up to LaTeX, wherein I type
"Section~102(a)" in my favourite editor.
--
Dan_Jacobson@ATT.COM Naperville IL USA +1 708-979-6364
tchrist@convex.COM (Tom Christiansen) (02/16/91)
From the keyboard of tkevans@oss670.UUCP (Tim Evans): :That is, a space between two words which must never be divided :between lines. Say, for example, you want to have a legal :quotation in a file, such as "Section 102(a)" of some law or :other. How can you keep "Section" and "102(a)" from being :separated when 'vi' wraps at the end of a line? Use a ^V in front of the space. It will wrap later ifyou ever !}fmt though. --tom -- Tom Christiansen tchrist@convex.com convex!tchrist "All things are possible, but not all expedient." (in life, UNIX, and perl)