[comp.editors] nested macros in vi

meulenbr@cst.philips.nl (Frans Meulenbroeks) (08/15/90)

Hi!

I'm trying to make a nested macro in vi.
This works great if the called macro is mapped to one key, but not if
the called macro is mapped to a string.

So with:
map = isome text^[
map ;s =l=
when typing ;s in command mode this will insert the string
"some textsome text" into the file being edited.

However, I could not get this to work if instead of = I use a string.
E.g.:
map ;t isome text^[
map ;s ;t=;t
does not do what I want it to do (under SUNos 4.0.3).

Anyone any idea how to solve this??

--
Frans Meulenbroeks        (meulenbr@cst.philips.nl)
	Centre for Software Technology
	( or try: ...!mcsun!phigate!prle!cst!meulenbr)