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
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message