Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!hp-pcd!hplsla!hpubvwa!vantage!ray From: ray@vantage.UUCP (Ray Liere) Newsgroups: comp.editors Subject: Re: vi and :n Message-ID: <1370006@vantage.UUCP> Date: 6 Apr 90 16:48:07 GMT References: <1370004@vantage.UUCP> Organization: Vantage Consulting and Research Corporation Lines: 32 Thanks to everyone who responded to my inquiry about vi and :n. (I had asked: >> I use vi a great deal, and often use it with several files in >> sequence in the command line (so I can :n along the series): >> $vi file1 file2 file3 ... >> >> My question: most of the time when I execute :n to go to the next >> file, the next file comes up on the screen at its beginning (which >> makes sense!). But sometimes, it comes up in the middle somewhere ... >> >> Does anyone know why this happens (so that presumably I could use the >> feature on purpose)? And learning about control-^ was great! I had not been aware of that command. I also discovered that (at least on our version of vi), if you do a $vi file1 file2 file3 and file2 does not exist, and while you are in file1 you :w to create file2, when you :n to file2 vi puts you where you were when you created it. I am impressed!! Thanks again for the help and education. Ray Liere Vantage Consulting and Research Corporation voice: (503)657-7294 uucp: uunet!nwnexus!vantage!ray -or- hplabs!hpfcla!hpubvwa!hpupora!vantage!ray Internet: vantage!ray@nwnexus.WA.COM