Path: utzoo!attcan!uunet!lll-winken!ames!elroy!orion.cf.uci.edu!oberon!buddha.usc.edu!rkumar From: rkumar@buddha.usc.edu Newsgroups: comp.unix.questions Subject: Re: Request for vi macros Summary: Thanks to all who sent info. Message-ID: <15583@oberon.USC.EDU> Date: 28 Feb 89 18:18:31 GMT Sender: news@oberon.USC.EDU Reply-To: rkumar@buddha.usc.edu () Organization: University of Southern California, Los Angeles, CA Lines: 22 > Sometime back, I requested for vi macros. Thanks to all the people who sent me helpful mail regarding this. Summary : You can map the string "bf" to mean a much longer string as follows. :map bf \begin{figure}^V^M \end{figure} or :ab bf \begin{figure}^V^M \end{figure} Later, when you use "bf" after a white space, vi (your magic editor) will insert your favorite string for you. Isn't vi nice? Ravi --- :-) Pardon me, but UNIX *is* male chauvinistic. Look at all those *man* commands! --- :-(