Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to use vim to edit two file at the same time??

0 views
Skip to first unread message

hushui

unread,
Apr 25, 2001, 8:03:56 AM4/25/01
to
what I mean is we can copy some part of one file then past it to the other .
I use "e filename" to open the second file .
But how to switch between the two files ??
thank you

news.free.fr

unread,
Apr 25, 2001, 1:17:41 PM4/25/01
to

"hushui" <hus...@hushui.nuaa.edu.cn> a écrit dans le message news:
9c6efc$e4...@gus.buptnet.edu.cn...
"e#" will switch between the two open files.


Duane Healing

unread,
Apr 25, 2001, 4:22:57 PM4/25/01
to
If you open two (or more) files at once "e.g. vim file1 file2", you can
then page through them forward and backwards with :n and :N respectively.

--
-Duane
-DNAware SoftLabs

In article <VEDF6.870$g%5.13...@nnrp4.proxad.net>, "news.free.fr"

Peter T. Breuer

unread,
Apr 25, 2001, 4:44:58 PM4/25/01
to
Duane Healing <DNAg...@yahoo.com> wrote:
> If you open two (or more) files at once "e.g. vim file1 file2", you can
> then page through them forward and backwards with :n and :N respectively.

sigh ...

vim -o file1 file2

and no paging necessary.

Peter

hushui

unread,
Apr 26, 2001, 2:05:38 AM4/26/01
to
Thank you all
0 new messages