Request for vi macros
rkumar at buddha.usc.edu
rkumar at buddha.usc.edu
Wed Mar 1 04:18:31 AEST 1989
>
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!
--- :-(
More information about the Comp.unix.questions
mailing list