Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!phigate!prle!prles2!cst!meulenbr From: meulenbr@cst.philips.nl (Frans Meulenbroeks) Newsgroups: comp.editors Subject: nested macros in vi Message-ID: Date: 15 Aug 90 13:48:57 GMT Sender: news@prles2.prl.philips.nl Lines: 24 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)