Path: utzoo!attcan!uunet!bu.edu!snorkelwacker!ai-lab!ai.mit.edu!tmb From: tmb@ai.mit.edu (Thomas M. Breuel) Newsgroups: comp.editors Subject: Re: edit multiple files in vi? Message-ID: <1990Sep19.133419@ai.mit.edu> Date: 19 Sep 90 17:34:19 GMT References: <1990Sep13.030424.27298@hybrid.UUCP> <630@mlacus.oz> <8652@neptune.inf.ethz.ch> <24478@uflorida.cis.ufl.EDU> Sender: news@ai.mit.edu Reply-To: tmb@ai.mit.edu Organization: MIT Artificial Intelligence Lab Lines: 14 In article <24478@uflorida.cis.ufl.EDU>, dlw@palmetto.cis.ufl.edu (Dave Wilson) writes: |> The best vi tip I ever got was the following mapping in my .exrc file: |> |> map g :e#^M |> |> This lets me toggle between two files without even thinking about it. |> Combining this with the character buffers allows me to cut and paste between |> the two files without too much difficulty. Try Control-^.