Article View: comp.editors
Article #2787Paste from macro in VI
From: andrew
Date: Tue, 11 Jun 1991 05:35
Date: Tue, 11 Jun 1991 05:35
12 lines
855 bytes
855 bytes
For a long time I have been trying to find a way around an anoying feature of vi. What I want to do is to create a macro (with :map) that will copy the contents of this line onto the end of itself. This can be done outside a macro with YPJ Withing a macro, I get the message "Cannot put inside global/macro". I'm runnin on a SUN3/60 with SUNOS that announces itself as "Sun UNX 4.2 Release 3.5" and the version of vi that comes with it. Andrew. andrew@otago.ac.nz
Technical Details
Message-ID:
<1991Jun11.183544.514@otago.ac.nz>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!comp.vuw.ac.nz!canterbury!otago.ac.nz!andrewShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!comp.vuw.ac.nz!canterbury!otago.ac.nz!andrew Newsgroups: comp.editors Subject: Paste from macro in VI Message-ID: <1991Jun11.183544.514@otago.ac.nz> From: andrew@otago.ac.nz Date: 11 Jun 91 18:35:44 NZDT Organization: University of Otago, Dunedin, New Zealand Lines: 13