Traversing files within vi

by Sanju 2009-10-29 10:30:30

Traversing files within vi

To open a new file without closing the current file you can use the following command:

:e filename


Example:

When you are in

vi test.txt


and you want to go to example.txt without closing test.txt

Press ESC and enter

:e example.txt

Tagged in:

1149
like
0
dislike
0
mail
flag

You must LOGIN to add comments