Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Swithching between files

Status
Not open for further replies.

Ambatim

Programmer
Feb 28, 2002
110
IN
I am opening file2 using :e while editing file1 using vi.
How can I switch between file1 and file 2 with out coming out of vi.




Thanks in advance
Mallik
 
That is not working bi..

Thanks in advance
Mallik
 
funny. It works for me.

vi first.txt
:e second.txt
Ctrl key + Shift key + ~ (tilde)


 
Ctrl + ^ (caret)
Which, depending on your keyboard layout, may be either:-
Ctrl + Shift + 6
or
Ctrl + Shift + ~

 
Thank you mattech and Ygor.

:e# and Ctrl+^ are working



Thanks in advance
Mallik
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top