🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #1396

Re: <CR> in VI macros

#1396
From: Michael SamChee
Date: Wed, 07 Oct 1992 16:40
22 lines
1237 bytes
In article <gx12H!z0#9@atlantis.psu.edu>, barr@pop.psu.edu (David Barr) writes:
> In article <1992Oct6.213438.11555@bnr.ca> mschee@bcarh600.bnr.ca (Michael SamChee) writes:
> >Example
> >-------
> >- first, edit a file: "vi file1"
> >- then from within file1, edit another file: ":!vi file2"  
> >
> >Problem
> >-------
> >Write a macro that would "pop" the user from file2 back to file1
> >in *one* keystroke.
> 
> It's already there.  ^^.
> 
> (ctrl-^, depending on the teriminal this is ctrl-6, or ctrl+shift-6)

Yes, this works for the example I gave above.
However, as I stated in my (new) previous posting,
I really want to do ":!vi -t identifier" instead.
In this case, cntrl-6 does not work.

Michael.
Technical Details
Message-ID: <1992Oct7.164016.7912@bnr.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!cunews!nrcnet0!bnrgate!bcars267!bcarh600!mschee
References: <1992Oct6.213438.11555@bnr.ca> <gx12H!z0#9@atlantis.psu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.editors
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!cunews!nrcnet0!bnrgate!bcars267!bcarh600!mschee
From: mschee@bcarh600.bnr.ca (Michael SamChee)
Subject: Re: <CR> in VI macros
Message-ID: <1992Oct7.164016.7912@bnr.ca>
Keywords: vi, macros, carriage returns
Sender: news@bnr.ca (usenet)
Nntp-Posting-Host: bcarh600
Organization: Bell-Northern Research, Ottawa, Canada
References: <1992Oct6.213438.11555@bnr.ca> <gx12H!z0#9@atlantis.psu.edu>
Date: Wed, 7 Oct 1992 16:40:16 GMT
Lines: 22